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..cacfd19a
--- /dev/null
+++ b/catalog.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.8.6", "generated_at": "2024-08-29T15:38:00.519587Z", "invocation_id": "56ee0000-2bfb-4ec9-a484-4ddf996bd061", "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}, "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}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet"}, "model.synthetix.fct_core_apr_arbitrum_mainnet": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "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": "integer", "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}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_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": "model.synthetix.fct_prices_arbitrum_mainnet"}, "model.synthetix.fct_prices_hourly_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_prices_hourly_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_mainnet"}, "model.synthetix.fct_spot_atomics_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_atomics_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_mainnet"}, "model.synthetix.fct_spot_markets_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_markets_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_mainnet"}, "model.synthetix.fct_spot_wrapper_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_spot_wrapper_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet"}, "model.synthetix.fct_synth_supply_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_mainnet", "name": "fct_synth_supply_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_mainnet"}, "model.synthetix.fct_core_account_delegation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_account_delegation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "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}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia"}, "model.synthetix.fct_core_apr_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_core_apr_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia"}, "model.synthetix.fct_core_market_updated_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_market_updated_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_arbitrum_sepolia"}, "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_collateral_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia"}, "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pool_delegation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia"}, "model.synthetix.fct_core_pools_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_core_pools_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_arbitrum_sepolia"}, "model.synthetix.fct_pool_debt_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_debt_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_arbitrum_sepolia"}, "model.synthetix.fct_pool_issuance_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_arbitrum_sepolia"}, "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_issuance_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_pnl_hourly_reward_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia"}, "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_pool_rewards_token_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia"}, "model.synthetix.fct_prices_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "character varying", "index": 2, "name": "market_address", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_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": "model.synthetix.fct_prices_arbitrum_sepolia"}, "model.synthetix.fct_prices_hourly_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_prices_hourly_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_arbitrum_sepolia"}, "model.synthetix.fct_spot_atomics_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_atomics_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_arbitrum_sepolia"}, "model.synthetix.fct_spot_markets_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_markets_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_arbitrum_sepolia"}, "model.synthetix.fct_spot_wrapper_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_spot_wrapper_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia"}, "model.synthetix.fct_synth_supply_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_arbitrum_sepolia", "name": "fct_synth_supply_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_arbitrum_sepolia"}, "model.synthetix.fct_buyback_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_mainnet"}, "model.synthetix.fct_buyback_daily_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_daily_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_mainnet"}, "model.synthetix.fct_buyback_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_buyback_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_mainnet"}, "model.synthetix.fct_core_account_delegation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_core_account_delegation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "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}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_mainnet"}, "model.synthetix.fct_core_apr_base_mainnet": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "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": "integer", "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": {"created_ts": {"type": "timestamp with time zone", "index": 1, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 7, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 8, "name": "position_size", "comment": null}, "account_id": {"type": "text", "index": 9, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.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}, "cumulative_exchange_fees": {"type": "numeric", "index": 7, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 8, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 9, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 10, "name": "cumulative_volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 11, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 12, "name": "liquidated_accounts", "comment": null}}, "stats": {"has_stats": {"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": "integer", "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}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_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": "model.synthetix.fct_prices_base_mainnet"}, "model.synthetix.fct_prices_hourly_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_prices_hourly_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_mainnet"}, "model.synthetix.fct_spot_atomics_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_atomics_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_mainnet"}, "model.synthetix.fct_spot_markets_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_markets_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_mainnet"}, "model.synthetix.fct_spot_wrapper_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_spot_wrapper_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_mainnet"}, "model.synthetix.fct_synth_supply_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_base_mainnet", "name": "fct_synth_supply_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_mainnet"}, "model.synthetix.fct_buyback_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "buyer": {"type": "text", "index": 3, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 4, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 5, "name": "usd", "comment": null}, "snx_price": {"type": "numeric", "index": 6, "name": "snx_price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_base_sepolia"}, "model.synthetix.fct_buyback_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_daily_base_sepolia"}, "model.synthetix.fct_buyback_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_buyback_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "snx_amount": {"type": "numeric", "index": 2, "name": "snx_amount", "comment": null}, "usd_amount": {"type": "numeric", "index": 3, "name": "usd_amount", "comment": null}, "cumulative_snx_amount": {"type": "numeric", "index": 4, "name": "cumulative_snx_amount", "comment": null}, "cumulative_usd_amount": {"type": "numeric", "index": 5, "name": "cumulative_usd_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_buyback_hourly_base_sepolia"}, "model.synthetix.fct_core_account_delegation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_account_delegation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "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}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_base_sepolia"}, "model.synthetix.fct_core_apr_base_sepolia": {"metadata": {"type": "BASE TABLE", "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": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_core_apr_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "reward_token": {"type": "text", "index": 4, "name": "reward_token", "comment": null}, "collateral_value": {"type": "numeric", "index": 5, "name": "collateral_value", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 8, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 9, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 10, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 11, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 12, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 13, "name": "apy_28d_rewards", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_apr_rewards_base_sepolia"}, "model.synthetix.fct_core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 7, "name": "credit_capacity", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_market_updated_base_sepolia"}, "model.synthetix.fct_core_pool_collateral_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pool_collateral_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "amount_deposited": {"type": "numeric", "index": 3, "name": "amount_deposited", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_collateral_base_sepolia"}, "model.synthetix.fct_core_pool_delegation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pool_delegation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "amount_delegated": {"type": "numeric", "index": 4, "name": "amount_delegated", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pool_delegation_base_sepolia"}, "model.synthetix.fct_core_pools_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_core_pools_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 4, "name": "owner", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_pools_base_sepolia"}, "model.synthetix.fct_perp_account_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "fees": {"type": "numeric", "index": 3, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 4, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 5, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 6, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 7, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 8, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_account_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_account_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "account_id": {"type": "text", "index": 2, "name": "account_id", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "fees": {"type": "numeric", "index": 4, "name": "fees", "comment": null}, "volume": {"type": "numeric", "index": 5, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 6, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 7, "name": "liquidations", "comment": null}, "cumulative_fees": {"type": "numeric", "index": 8, "name": "cumulative_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 9, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_accounts_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_accounts_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"created_ts": {"type": "timestamp with time zone", "index": 1, "name": "created_ts", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_accounts_base_sepolia"}, "model.synthetix.fct_perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_collateral_modified_base_sepolia"}, "model.synthetix.fct_perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "interest": {"type": "numeric", "index": 8, "name": "interest", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_interest_charged_base_sepolia"}, "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "numeric", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_keeper_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "keeper": {"type": "text", "index": 2, "name": "keeper", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "settlement_rewards": {"type": "numeric", "index": 4, "name": "settlement_rewards", "comment": null}, "amount_settled": {"type": "numeric", "index": 5, "name": "amount_settled", "comment": null}, "trades_pct": {"type": "bigint", "index": 6, "name": "trades_pct", "comment": null}, "settlement_rewards_pct": {"type": "numeric", "index": 7, "name": "settlement_rewards_pct", "comment": null}, "amount_settled_pct": {"type": "numeric", "index": 8, "name": "amount_settled_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_liq_account_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_liq_account_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "text", "index": 1, "name": "account_id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "total_reward": {"type": "numeric", "index": 3, "name": "total_reward", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_account_base_sepolia"}, "model.synthetix.fct_perp_liq_position_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_liq_position_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 7, "name": "amount_liquidated", "comment": null}, "position_size": {"type": "numeric", "index": 8, "name": "position_size", "comment": null}, "account_id": {"type": "text", "index": 9, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_liq_position_base_sepolia"}, "model.synthetix.fct_perp_market_history_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_history_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 6, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 7, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 8, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 9, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 10, "name": "size_delta", "comment": null}, "funding_rate": {"type": "numeric", "index": 11, "name": "funding_rate", "comment": null}, "funding_velocity": {"type": "numeric", "index": 12, "name": "funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 13, "name": "interest_rate", "comment": null}, "funding_rate_apr": {"type": "numeric", "index": 14, "name": "funding_rate_apr", "comment": null}, "long_rate_apr": {"type": "numeric", "index": 15, "name": "long_rate_apr", "comment": null}, "short_rate_apr": {"type": "numeric", "index": 16, "name": "short_rate_apr", "comment": null}, "size_usd": {"type": "numeric", "index": 17, "name": "size_usd", "comment": null}, "long_oi": {"type": "numeric", "index": 18, "name": "long_oi", "comment": null}, "short_oi": {"type": "numeric", "index": 19, "name": "short_oi", "comment": null}, "long_oi_pct": {"type": "numeric", "index": 20, "name": "long_oi_pct", "comment": null}, "short_oi_pct": {"type": "numeric", "index": 21, "name": "short_oi_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_history_base_sepolia"}, "model.synthetix.fct_perp_market_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "numeric", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "numeric", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_market_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_market_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "trades": {"type": "bigint", "index": 3, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 4, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 5, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 6, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 7, "name": "volume", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 8, "name": "amount_liquidated", "comment": null}, "liquidations": {"type": "bigint", "index": 9, "name": "liquidations", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 10, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 11, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 12, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 13, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_markets_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_markets_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 5, "name": "market_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_markets_base_sepolia"}, "model.synthetix.fct_perp_orders_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_orders_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "order_type": {"type": "integer", "index": 9, "name": "order_type", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "settlement_time": {"type": "numeric", "index": 12, "name": "settlement_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 13, "name": "expiration_time", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "sender": {"type": "text", "index": 15, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_orders_base_sepolia"}, "model.synthetix.fct_perp_pnl_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_pnl_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_id": {"type": "integer", "index": 2, "name": "market_id", "comment": null}, "market_pnl": {"type": "numeric", "index": 3, "name": "market_pnl", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_pnl_base_sepolia"}, "model.synthetix.fct_perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "tracking_code": {"type": "text", "index": 10, "name": "tracking_code", "comment": null}, "acceptable_price": {"type": "numeric", "index": 11, "name": "acceptable_price", "comment": null}, "size_delta": {"type": "numeric", "index": 12, "name": "size_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_previous_order_expired_base_sepolia"}, "model.synthetix.fct_perp_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 7, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "numeric", "index": 8, "name": "liquidated_accounts", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 9, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 10, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 11, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 12, "name": "cumulative_volume", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "trades": {"type": "numeric", "index": 2, "name": "trades", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "cumulative_exchange_fees": {"type": "numeric", "index": 7, "name": "cumulative_exchange_fees", "comment": null}, "cumulative_referral_fees": {"type": "numeric", "index": 8, "name": "cumulative_referral_fees", "comment": null}, "cumulative_collected_fees": {"type": "numeric", "index": 9, "name": "cumulative_collected_fees", "comment": null}, "cumulative_volume": {"type": "numeric", "index": 10, "name": "cumulative_volume", "comment": null}, "liquidation_rewards": {"type": "numeric", "index": 11, "name": "liquidation_rewards", "comment": null}, "liquidated_accounts": {"type": "bigint", "index": 12, "name": "liquidated_accounts", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_daily_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "numeric", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia"}, "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_tracking_stats_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "tracking_code": {"type": "text", "index": 2, "name": "tracking_code", "comment": null}, "exchange_fees": {"type": "numeric", "index": 3, "name": "exchange_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "volume": {"type": "numeric", "index": 6, "name": "volume", "comment": null}, "trades": {"type": "bigint", "index": 7, "name": "trades", "comment": null}, "accounts": {"type": "bigint", "index": 8, "name": "accounts", "comment": null}, "exchange_fees_share": {"type": "numeric", "index": 9, "name": "exchange_fees_share", "comment": null}, "referral_fees_share": {"type": "numeric", "index": 10, "name": "referral_fees_share", "comment": null}, "collected_fees_share": {"type": "numeric", "index": 11, "name": "collected_fees_share", "comment": null}, "volume_share": {"type": "numeric", "index": 12, "name": "volume_share", "comment": null}, "trades_share": {"type": "numeric", "index": 13, "name": "trades_share", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia"}, "model.synthetix.fct_perp_trades_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_perp_trades_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "account_id": {"type": "text", "index": 8, "name": "account_id", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "pnl": {"type": "numeric", "index": 10, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 11, "name": "accrued_funding", "comment": null}, "trade_size": {"type": "numeric", "index": 12, "name": "trade_size", "comment": null}, "position_size": {"type": "numeric", "index": 13, "name": "position_size", "comment": null}, "total_fees": {"type": "numeric", "index": 14, "name": "total_fees", "comment": null}, "referral_fees": {"type": "numeric", "index": 15, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 16, "name": "collected_fees", "comment": null}, "settlement_reward": {"type": "numeric", "index": 17, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 18, "name": "tracking_code", "comment": null}, "settler": {"type": "text", "index": 19, "name": "settler", "comment": null}, "notional_trade_size": {"type": "numeric", "index": 20, "name": "notional_trade_size", "comment": null}, "notional_position_size": {"type": "numeric", "index": 21, "name": "notional_position_size", "comment": null}, "lp_fees": {"type": "numeric", "index": 22, "name": "lp_fees", "comment": null}, "exchange_fees": {"type": "numeric", "index": 23, "name": "exchange_fees", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_perp_trades_base_sepolia"}, "model.synthetix.fct_pool_debt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_debt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "pool_id": {"type": "integer", "index": 3, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 4, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_debt_base_sepolia"}, "model.synthetix.fct_pool_issuance_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_base_sepolia"}, "model.synthetix.fct_pool_issuance_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_issuance_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 4, "name": "hourly_issuance", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_issuance_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "debt": {"type": "numeric", "index": 5, "name": "debt", "comment": null}, "hourly_issuance": {"type": "numeric", "index": 6, "name": "hourly_issuance", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 7, "name": "hourly_pnl", "comment": null}, "rewards_usd": {"type": "numeric", "index": 8, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 9, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 10, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 11, "name": "hourly_total_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_base_sepolia"}, "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia": {"metadata": {"type": "BASE TABLE", "schema": "prod_base_sepolia", "name": "fct_pool_pnl_hourly_reward_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "collateral_value": {"type": "numeric", "index": 4, "name": "collateral_value", "comment": null}, "reward_token": {"type": "text", "index": 5, "name": "reward_token", "comment": null}, "rewards_usd": {"type": "numeric", "index": 6, "name": "rewards_usd", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 7, "name": "hourly_rewards_pct", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia"}, "model.synthetix.fct_pool_rewards_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "ts_start": {"type": "timestamp with time zone", "index": 7, "name": "ts_start", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_base_sepolia"}, "model.synthetix.fct_pool_rewards_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "rewards_usd": {"type": "numeric", "index": 4, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_hourly_base_sepolia"}, "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_pool_rewards_token_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "pool_id": {"type": "integer", "index": 2, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 3, "name": "collateral_type", "comment": null}, "distributor": {"type": "text", "index": 4, "name": "distributor", "comment": null}, "token_symbol": {"type": "text", "index": 5, "name": "token_symbol", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "hourly_amount": {"type": "numeric", "index": 7, "name": "hourly_amount", "comment": null}, "amount_distributed": {"type": "numeric", "index": 8, "name": "amount_distributed", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia"}, "model.synthetix.fct_prices_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_prices_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_address": {"type": "text", "index": 2, "name": "market_address", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_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": "model.synthetix.fct_prices_base_sepolia"}, "model.synthetix.fct_prices_hourly_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_prices_hourly_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "market_symbol": {"type": "text", "index": 2, "name": "market_symbol", "comment": null}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_prices_hourly_base_sepolia"}, "model.synthetix.fct_spot_atomics_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_atomics_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "price": {"type": "numeric", "index": 6, "name": "price", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_atomics_base_sepolia"}, "model.synthetix.fct_spot_markets_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_markets_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "numeric", "index": 1, "name": "id", "comment": null}, "created_ts": {"type": "timestamp with time zone", "index": 2, "name": "created_ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "token_address": {"type": "text", "index": 4, "name": "token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_markets_base_sepolia"}, "model.synthetix.fct_spot_wrapper_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_spot_wrapper_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "tx_hash": {"type": "text", "index": 4, "name": "tx_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 6, "name": "amount_wrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_spot_wrapper_base_sepolia"}, "model.synthetix.fct_synth_supply_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_base_sepolia", "name": "fct_synth_supply_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_id", "comment": null}, "supply": {"type": "numeric", "index": 4, "name": "supply", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_synth_supply_base_sepolia"}, "model.synthetix.fct_core_account_delegation_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_account_delegation_eth_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}, "account_id": {"type": "text", "index": 5, "name": "account_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.fct_core_account_delegation_eth_mainnet"}, "model.synthetix.fct_core_apr_eth_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_eth_mainnet", "name": "fct_core_apr_eth_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_debt_migrated": {"type": "numeric", "index": 7, "name": "hourly_debt_migrated", "comment": null}, "hourly_pnl": {"type": "numeric", "index": 8, "name": "hourly_pnl", "comment": null}, "cumulative_pnl": {"type": "numeric", "index": 9, "name": "cumulative_pnl", "comment": null}, "cumulative_issuance": {"type": "numeric", "index": 10, "name": "cumulative_issuance", "comment": null}, "rewards_usd": {"type": "numeric", "index": 11, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 12, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 13, "name": "hourly_rewards_pct", "comment": null}, "apr_24h": {"type": "numeric", "index": 14, "name": "apr_24h", "comment": null}, "apy_24h": {"type": "numeric", "index": 15, "name": "apy_24h", "comment": null}, "apr_7d": {"type": "numeric", "index": 16, "name": "apr_7d", "comment": null}, "apy_7d": {"type": "numeric", "index": 17, "name": "apy_7d", "comment": null}, "apr_28d": {"type": "numeric", "index": 18, "name": "apr_28d", "comment": null}, "apy_28d": {"type": "numeric", "index": 19, "name": "apy_28d", "comment": null}, "apr_24h_pnl": {"type": "numeric", "index": 20, "name": "apr_24h_pnl", "comment": null}, "apy_24h_pnl": {"type": "numeric", "index": 21, "name": "apy_24h_pnl", "comment": null}, "apr_7d_pnl": {"type": "numeric", "index": 22, "name": "apr_7d_pnl", "comment": null}, "apy_7d_pnl": {"type": "numeric", "index": 23, "name": "apy_7d_pnl", "comment": null}, "apr_28d_pnl": {"type": "numeric", "index": 24, "name": "apr_28d_pnl", "comment": null}, "apy_28d_pnl": {"type": "numeric", "index": 25, "name": "apy_28d_pnl", "comment": null}, "apr_24h_rewards": {"type": "numeric", "index": 26, "name": "apr_24h_rewards", "comment": null}, "apy_24h_rewards": {"type": "numeric", "index": 27, "name": "apy_24h_rewards", "comment": null}, "apr_7d_rewards": {"type": "numeric", "index": 28, "name": "apr_7d_rewards", "comment": null}, "apy_7d_rewards": {"type": "numeric", "index": 29, "name": "apy_7d_rewards", "comment": null}, "apr_28d_rewards": {"type": "numeric", "index": 30, "name": "apr_28d_rewards", "comment": null}, "apy_28d_rewards": {"type": "numeric", "index": 31, "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_eth_mainnet"}, "model.synthetix.fct_core_apr_rewards_eth_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_eth_mainnet", "name": "fct_core_apr_rewards_eth_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_eth_mainnet"}, "model.synthetix.fct_core_market_updated_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_market_updated_eth_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_eth_mainnet"}, "model.synthetix.fct_core_migration_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_migration_eth_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": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "staker": {"type": "text", "index": 6, "name": "staker", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_amount": {"type": "numeric", "index": 8, "name": "collateral_amount", "comment": null}, "debt_amount": {"type": "numeric", "index": 9, "name": "debt_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_migration_eth_mainnet"}, "model.synthetix.fct_core_migration_hourly_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_migration_hourly_eth_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}, "hourly_debt_migrated": {"type": "numeric", "index": 4, "name": "hourly_debt_migrated", "comment": null}}, "stats": {"has_stats": {"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_migration_hourly_eth_mainnet"}, "model.synthetix.fct_core_pool_collateral_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_pool_collateral_eth_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_eth_mainnet"}, "model.synthetix.fct_core_pool_delegation_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_pool_delegation_eth_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_eth_mainnet"}, "model.synthetix.fct_core_pools_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_core_pools_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_debt_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_debt_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_issuance_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_issuance_hourly_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_issuance_hourly_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_eth_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_eth_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}, "hourly_debt_migrated": {"type": "numeric", "index": 8, "name": "hourly_debt_migrated", "comment": null}, "rewards_usd": {"type": "numeric", "index": 9, "name": "rewards_usd", "comment": null}, "hourly_pnl_pct": {"type": "numeric", "index": 10, "name": "hourly_pnl_pct", "comment": null}, "hourly_rewards_pct": {"type": "numeric", "index": 11, "name": "hourly_rewards_pct", "comment": null}, "hourly_total_pct": {"type": "numeric", "index": 12, "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_eth_mainnet"}, "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet": {"metadata": {"type": "BASE TABLE", "schema": "prod_eth_mainnet", "name": "fct_pool_pnl_hourly_reward_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_rewards_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_rewards_hourly_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_hourly_eth_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_eth_mainnet"}, "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_pool_rewards_token_hourly_eth_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_eth_mainnet"}, "model.synthetix.fct_prices_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_prices_eth_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}, "price": {"type": "numeric", "index": 3, "name": "price", "comment": null}, "market_symbol": {"type": "text", "index": 4, "name": "market_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": "model.synthetix.fct_prices_eth_mainnet"}, "model.synthetix.fct_prices_hourly_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_eth_mainnet", "name": "fct_prices_hourly_eth_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_eth_mainnet"}, "model.synthetix.blocks_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "blocks_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}}, "stats": {"has_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_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}, "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": "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}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "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}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 9, "name": "leverage", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "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_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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_arbitrum_mainnet"}, "model.synthetix.core_liquidation_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_liquidation_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 5, "name": "liquidate_as_account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 6, "name": "liquidation_data", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "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.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}, "market": {"type": "text", "index": 2, "name": "market", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_arbitrum_mainnet"}, "model.synthetix.core_rewards_claimed_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_rewards_claimed_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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}}, "stats": {"has_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}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 8, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 10, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 11, "name": "start", "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_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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "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_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 11, "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_usd_minted_arbitrum_mainnet"}, "model.synthetix.core_vault_collateral_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_collateral_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_mainnet"}, "model.synthetix.core_vault_debt_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "core_vault_debt_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "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_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "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_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": {"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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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}}, "stats": {"has_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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.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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}, "referrer": {"type": "text", "index": 11, "name": "referrer", "comment": null}, "order_type": {"type": "integer", "index": 12, "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_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": {"order_type": {"type": "integer", "index": 1, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 3, "name": "settler", "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}, "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}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 11, "name": "final_order_amount", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "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": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "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}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "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}, "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}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_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.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": {"amount_returned": {"type": "numeric", "index": 1, "name": "amount_returned", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_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}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_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": {"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}, "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 10, "name": "amount_unwrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet"}, "model.synthetix.spot_synth_wrapped_arbitrum_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_mainnet", "name": "spot_synth_wrapped_arbitrum_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "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}, "amount_wrapped": {"type": "numeric", "index": 10, "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.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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}}, "stats": {"has_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": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_arbitrum_sepolia"}, "model.synthetix.core_rewards_distributed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_rewards_distributed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 3, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 4, "name": "start", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 9, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 12, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_arbitrum_sepolia"}, "model.synthetix.core_usd_burned_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_burned_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_arbitrum_sepolia"}, "model.synthetix.core_usd_minted_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_usd_minted_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_arbitrum_sepolia"}, "model.synthetix.core_vault_collateral_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_collateral_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_arbitrum_sepolia"}, "model.synthetix.core_vault_debt_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_debt_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_arbitrum_sepolia"}, "model.synthetix.core_vault_liquidation_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_vault_liquidation_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 3, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 11, "name": "liquidation_data", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_arbitrum_sepolia"}, "model.synthetix.core_withdrawn_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "core_withdrawn_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 6, "name": "token_amount", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_arbitrum_sepolia"}, "model.synthetix.spot_order_cancelled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_cancelled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 5, "name": "async_order_claim", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_arbitrum_sepolia"}, "model.synthetix.spot_order_committed_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_committed_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_provided": {"type": "numeric", "index": 4, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "order_type": {"type": "integer", "index": 6, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "referrer": {"type": "text", "index": 10, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 11, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 12, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_arbitrum_sepolia"}, "model.synthetix.spot_order_settled_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_order_settled_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 3, "name": "final_order_amount", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "settler": {"type": "text", "index": 12, "name": "settler", "comment": null}, "fees": {"type": "jsonb", "index": 13, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 14, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_arbitrum_sepolia"}, "model.synthetix.spot_synth_bought_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_bought_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "synth_returned": {"type": "numeric", "index": 2, "name": "synth_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 5, "name": "synth_market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "collected_fees": {"type": "numeric", "index": 9, "name": "collected_fees", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_arbitrum_sepolia"}, "model.synthetix.spot_synth_registered_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_registered_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "synth_token_address": {"type": "text", "index": 3, "name": "synth_token_address", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_arbitrum_sepolia"}, "model.synthetix.spot_synth_sold_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_sold_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 2, "name": "amount_returned", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 8, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 10, "name": "price", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_arbitrum_sepolia"}, "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_unwrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 4, "name": "amount_unwrapped", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia"}, "model.synthetix.spot_synth_wrapped_arbitrum_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_arbitrum_sepolia", "name": "spot_synth_wrapped_arbitrum_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 2, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 5, "name": "amount_wrapped", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 7, "name": "synth_market_id", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia"}, "model.synthetix.blocks_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "blocks_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_mainnet"}, "model.synthetix.buyback_processed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "buyback_processed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_mainnet"}, "model.synthetix.core_account_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_account_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_mainnet"}, "model.synthetix.core_delegation_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_delegation_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "leverage": {"type": "numeric", "index": 4, "name": "leverage", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_mainnet"}, "model.synthetix.core_deposited_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_deposited_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "token_amount": {"type": "numeric", "index": 8, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_mainnet"}, "model.synthetix.core_liquidation_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_liquidation_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_mainnet"}, "model.synthetix.core_market_registered_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_registered_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_mainnet"}, "model.synthetix.core_market_updated_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_market_updated_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_mainnet"}, "model.synthetix.core_pool_created_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_pool_created_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 9, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_mainnet"}, "model.synthetix.core_rewards_claimed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_claimed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "amount": {"type": "numeric", "index": 2, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_mainnet"}, "model.synthetix.core_rewards_distributed_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_rewards_distributed_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 5, "name": "amount", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "duration": {"type": "numeric", "index": 8, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 9, "name": "start", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 11, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_mainnet"}, "model.synthetix.core_usd_burned_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_burned_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 8, "name": "pool_id", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 10, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 11, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_mainnet"}, "model.synthetix.core_usd_minted_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_usd_minted_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_mainnet"}, "model.synthetix.core_vault_collateral_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_collateral_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_base_mainnet"}, "model.synthetix.core_vault_debt_base_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_mainnet", "name": "core_vault_debt_base_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "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": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.blocks_base_sepolia"}, "model.synthetix.buyback_processed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "buyback_processed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "buyer": {"type": "text", "index": 7, "name": "buyer", "comment": null}, "snx": {"type": "numeric", "index": 8, "name": "snx", "comment": null}, "usd": {"type": "numeric", "index": 9, "name": "usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.buyback_processed_base_sepolia"}, "model.synthetix.core_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 3, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_base_sepolia"}, "model.synthetix.core_delegation_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_delegation_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 4, "name": "pool_id", "comment": null}, "leverage": {"type": "numeric", "index": 5, "name": "leverage", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_base_sepolia"}, "model.synthetix.core_deposited_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_deposited_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 7, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_base_sepolia"}, "model.synthetix.core_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collateral_type": {"type": "text", "index": 1, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "account_id": {"type": "numeric", "index": 7, "name": "account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 8, "name": "liquidation_data", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 11, "name": "liquidate_as_account_id", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_liquidation_base_sepolia"}, "model.synthetix.core_market_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_base_sepolia"}, "model.synthetix.core_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "net_issuance": {"type": "numeric", "index": 8, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 9, "name": "deposited_collateral_value", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "token_amount": {"type": "numeric", "index": 13, "name": "token_amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_updated_base_sepolia"}, "model.synthetix.core_pool_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_pool_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "owner": {"type": "text", "index": 2, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_pool_created_base_sepolia"}, "model.synthetix.core_rewards_claimed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_claimed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_base_sepolia"}, "model.synthetix.core_rewards_distributed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_rewards_distributed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"start": {"type": "numeric", "index": 1, "name": "start", "comment": null}, "duration": {"type": "numeric", "index": 2, "name": "duration", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "distributor": {"type": "text", "index": 6, "name": "distributor", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 8, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 10, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 12, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_distributed_base_sepolia"}, "model.synthetix.core_usd_burned_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_burned_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "collateral_type": {"type": "text", "index": 4, "name": "collateral_type", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_base_sepolia"}, "model.synthetix.core_usd_minted_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_usd_minted_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_minted_base_sepolia"}, "model.synthetix.core_vault_collateral_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_collateral_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "collateral_value": {"type": "numeric", "index": 7, "name": "collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_collateral_base_sepolia"}, "model.synthetix.core_vault_debt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_debt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"ts": {"type": "timestamp with time zone", "index": 1, "name": "ts", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 3, "name": "contract_address", "comment": null}, "pool_id": {"type": "integer", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "character varying", "index": 5, "name": "collateral_type", "comment": null}, "debt": {"type": "numeric", "index": 6, "name": "debt", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_debt_base_sepolia"}, "model.synthetix.core_vault_liquidation_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_vault_liquidation_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 2, "name": "collateral_type", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 3, "name": "liquidation_data", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_vault_liquidation_base_sepolia"}, "model.synthetix.core_withdrawn_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "core_withdrawn_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "token_amount": {"type": "numeric", "index": 4, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 6, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_base_sepolia"}, "model.synthetix.perp_account_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_created_base_sepolia"}, "model.synthetix.perp_account_liquidation_attempt_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_account_liquidation_attempt_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "reward": {"type": "numeric", "index": 5, "name": "reward", "comment": null}, "full_liquidation": {"type": "boolean", "index": 6, "name": "full_liquidation", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 9, "name": "transaction_hash", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_account_liquidation_attempt_base_sepolia"}, "model.synthetix.perp_collateral_modified_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_collateral_modified_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "synth_market_id": {"type": "numeric", "index": 8, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "amount_delta": {"type": "numeric", "index": 10, "name": "amount_delta", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_collateral_modified_base_sepolia"}, "model.synthetix.perp_interest_charged_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_charged_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "interest": {"type": "numeric", "index": 5, "name": "interest", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_charged_base_sepolia"}, "model.synthetix.perp_interest_rate_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_interest_rate_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "super_market_id": {"type": "numeric", "index": 2, "name": "super_market_id", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "interest_rate": {"type": "numeric", "index": 6, "name": "interest_rate", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_interest_rate_updated_base_sepolia"}, "model.synthetix.perp_market_created_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_created_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"perps_market_id": {"type": "numeric", "index": 1, "name": "perps_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "market_symbol": {"type": "text", "index": 7, "name": "market_symbol", "comment": null}, "market_name": {"type": "text", "index": 8, "name": "market_name", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_created_base_sepolia"}, "model.synthetix.perp_market_updated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_market_updated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "skew": {"type": "numeric", "index": 9, "name": "skew", "comment": null}, "size": {"type": "numeric", "index": 10, "name": "size", "comment": null}, "size_delta": {"type": "numeric", "index": 11, "name": "size_delta", "comment": null}, "current_funding_rate": {"type": "numeric", "index": 12, "name": "current_funding_rate", "comment": null}, "current_funding_velocity": {"type": "numeric", "index": 13, "name": "current_funding_velocity", "comment": null}, "interest_rate": {"type": "numeric", "index": 14, "name": "interest_rate", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_market_updated_base_sepolia"}, "model.synthetix.perp_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "account_id": {"type": "numeric", "index": 8, "name": "account_id", "comment": null}, "commitment_time": {"type": "numeric", "index": 9, "name": "commitment_time", "comment": null}, "expiration_time": {"type": "numeric", "index": 10, "name": "expiration_time", "comment": null}, "settlement_time": {"type": "numeric", "index": 11, "name": "settlement_time", "comment": null}, "expected_price_time": {"type": "numeric", "index": 12, "name": "expected_price_time", "comment": null}, "acceptable_price": {"type": "numeric", "index": 13, "name": "acceptable_price", "comment": null}, "order_type": {"type": "integer", "index": 14, "name": "order_type", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "sender": {"type": "text", "index": 16, "name": "sender", "comment": null}, "tracking_code": {"type": "text", "index": 17, "name": "tracking_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_committed_base_sepolia"}, "model.synthetix.perp_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "referral_fees": {"type": "numeric", "index": 4, "name": "referral_fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 5, "name": "collected_fees", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "total_fees": {"type": "numeric", "index": 8, "name": "total_fees", "comment": null}, "fill_price": {"type": "numeric", "index": 9, "name": "fill_price", "comment": null}, "settler": {"type": "text", "index": 10, "name": "settler", "comment": null}, "pnl": {"type": "numeric", "index": 11, "name": "pnl", "comment": null}, "accrued_funding": {"type": "numeric", "index": 12, "name": "accrued_funding", "comment": null}, "settlement_reward": {"type": "numeric", "index": 13, "name": "settlement_reward", "comment": null}, "tracking_code": {"type": "text", "index": 14, "name": "tracking_code", "comment": null}, "size_delta": {"type": "numeric", "index": 15, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 16, "name": "account_id", "comment": null}, "block_number": {"type": "integer", "index": 17, "name": "block_number", "comment": null}, "new_size": {"type": "numeric", "index": 18, "name": "new_size", "comment": null}, "contract": {"type": "text", "index": 19, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_order_settled_base_sepolia"}, "model.synthetix.perp_position_liquidated_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_position_liquidated_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "amount_liquidated": {"type": "numeric", "index": 4, "name": "amount_liquidated", "comment": null}, "block_number": {"type": "integer", "index": 5, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "current_position_size": {"type": "numeric", "index": 10, "name": "current_position_size", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_position_liquidated_base_sepolia"}, "model.synthetix.perp_previous_order_expired_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "perp_previous_order_expired_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "acceptable_price": {"type": "numeric", "index": 2, "name": "acceptable_price", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "size_delta": {"type": "numeric", "index": 5, "name": "size_delta", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "tracking_code": {"type": "text", "index": 7, "name": "tracking_code", "comment": null}, "commitment_time": {"type": "numeric", "index": 8, "name": "commitment_time", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "market_id": {"type": "numeric", "index": 10, "name": "market_id", "comment": null}, "id": {"type": "character varying", "index": 11, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 12, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.perp_previous_order_expired_base_sepolia"}, "model.synthetix.spot_order_cancelled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_cancelled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "async_order_id": {"type": "numeric", "index": 3, "name": "async_order_id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 7, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 10, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_cancelled_base_sepolia"}, "model.synthetix.spot_order_committed_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_committed_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "order_type": {"type": "integer", "index": 2, "name": "order_type", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "async_order_id": {"type": "numeric", "index": 8, "name": "async_order_id", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount_provided": {"type": "numeric", "index": 10, "name": "amount_provided", "comment": null}, "market_id": {"type": "numeric", "index": 11, "name": "market_id", "comment": null}, "sender": {"type": "text", "index": 12, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_committed_base_sepolia"}, "model.synthetix.spot_order_settled_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_order_settled_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees": {"type": "jsonb", "index": 1, "name": "fees", "comment": null}, "collected_fees": {"type": "numeric", "index": 2, "name": "collected_fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 4, "name": "block_timestamp", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "order_type": {"type": "integer", "index": 7, "name": "order_type", "comment": null}, "final_order_amount": {"type": "numeric", "index": 8, "name": "final_order_amount", "comment": null}, "settler": {"type": "text", "index": 9, "name": "settler", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "async_order_id": {"type": "numeric", "index": 12, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "comment": null}, "price": {"type": "numeric", "index": 14, "name": "price", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_order_settled_base_sepolia"}, "model.synthetix.spot_synth_bought_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_bought_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"collected_fees": {"type": "numeric", "index": 1, "name": "collected_fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 2, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 3, "name": "block_timestamp", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "referrer": {"type": "text", "index": 7, "name": "referrer", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_bought_base_sepolia"}, "model.synthetix.spot_synth_registered_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_registered_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "synth_token_address": {"type": "text", "index": 8, "name": "synth_token_address", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_registered_base_sepolia"}, "model.synthetix.spot_synth_sold_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_sold_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "amount_returned": {"type": "numeric", "index": 7, "name": "amount_returned", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "price": {"type": "numeric", "index": 9, "name": "price", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "comment": null}, "referrer": {"type": "text", "index": 12, "name": "referrer", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_sold_base_sepolia"}, "model.synthetix.spot_synth_unwrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_unwrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 4, "name": "fees", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 5, "name": "amount_unwrapped", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 9, "name": "block_timestamp", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_unwrapped_base_sepolia"}, "model.synthetix.spot_synth_wrapped_base_sepolia": {"metadata": {"type": "VIEW", "schema": "prod_raw_base_sepolia", "name": "spot_synth_wrapped_base_sepolia", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"fees_collected": {"type": "numeric", "index": 1, "name": "fees_collected", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "fees": {"type": "jsonb", "index": 5, "name": "fees", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "amount_wrapped": {"type": "numeric", "index": 9, "name": "amount_wrapped", "comment": null}, "synth_market_id": {"type": "numeric", "index": 10, "name": "synth_market_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.spot_synth_wrapped_base_sepolia"}, "model.synthetix.blocks_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "blocks_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "ts": {"type": "timestamp with time zone", "index": 2, "name": "ts", "comment": null}}, "stats": {"has_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_eth_mainnet"}, "model.synthetix.core_account_created_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_account_created_eth_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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_created_eth_mainnet"}, "model.synthetix.core_account_migrated_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_account_migrated_eth_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}, "collateral_amount": {"type": "numeric", "index": 3, "name": "collateral_amount", "comment": null}, "staker": {"type": "text", "index": 4, "name": "staker", "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}, "debt_amount": {"type": "numeric", "index": 8, "name": "debt_amount", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_account_migrated_eth_mainnet"}, "model.synthetix.core_delegation_updated_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_delegation_updated_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_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}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_delegation_updated_eth_mainnet"}, "model.synthetix.core_deposited_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_deposited_eth_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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_deposited_eth_mainnet"}, "model.synthetix.core_liquidation_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_liquidation_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "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}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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.core_liquidation_eth_mainnet"}, "model.synthetix.core_market_registered_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_market_registered_eth_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}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_market_registered_eth_mainnet"}, "model.synthetix.core_market_updated_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_market_updated_eth_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_eth_mainnet"}, "model.synthetix.core_pool_created_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_pool_created_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "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_eth_mainnet"}, "model.synthetix.core_rewards_claimed_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_claimed_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 2, "name": "transaction_hash", "comment": null}, "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}, "distributor": {"type": "text", "index": 10, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_rewards_claimed_eth_mainnet"}, "model.synthetix.core_rewards_distributed_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_rewards_distributed_eth_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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 8, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 11, "name": "duration", "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_eth_mainnet"}, "model.synthetix.core_usd_burned_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_usd_burned_eth_mainnet", "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}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_usd_burned_eth_mainnet"}, "model.synthetix.core_usd_minted_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_usd_minted_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "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_minted_eth_mainnet"}, "model.synthetix.core_vault_collateral_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_vault_collateral_eth_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_eth_mainnet"}, "model.synthetix.core_vault_debt_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_vault_debt_eth_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_eth_mainnet"}, "model.synthetix.core_vault_liquidation_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_vault_liquidation_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "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}, "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_vault_liquidation_eth_mainnet"}, "model.synthetix.core_withdrawn_eth_mainnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_eth_mainnet", "name": "core_withdrawn_eth_mainnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.core_withdrawn_eth_mainnet"}, "model.synthetix.blocks_snax_testnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_testnet", "name": "blocks_snax_testnet", "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_snax_testnet"}, "model.synthetix.gov_vote_recorded_snax_testnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_testnet", "name": "gov_vote_recorded_snax_testnet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "chain_id": {"type": "numeric", "index": 2, "name": "chain_id", "comment": null}, "epoch_id": {"type": "numeric", "index": 3, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 4, "name": "voter", "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}, "voting_power": {"type": "numeric", "index": 8, "name": "voting_power", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "candidates": {"type": "jsonb", "index": 10, "name": "candidates", "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.gov_vote_recorded_snax_testnet"}, "model.synthetix.gov_vote_withdrawn_snax_testnet": {"metadata": {"type": "VIEW", "schema": "prod_raw_snax_testnet", "name": "gov_vote_withdrawn_snax_testnet", "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}, "epoch_id": {"type": "numeric", "index": 3, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 4, "name": "voter", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "chain_id": {"type": "numeric", "index": 9, "name": "chain_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.synthetix.gov_vote_withdrawn_snax_testnet"}, "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"}, "seed.synthetix.eth_mainnet_reward_distributors": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "eth_mainnet_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.eth_mainnet_reward_distributors"}, "seed.synthetix.eth_mainnet_tokens": {"metadata": {"type": "BASE TABLE", "schema": "prod_seeds", "name": "eth_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.eth_mainnet_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": {"timestamp": {"type": "timestamp with time zone", "index": 1, "name": "timestamp", "comment": null}, "number": {"type": "integer", "index": 2, "name": "number", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.block"}, "source.synthetix.raw_arbitrum_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "blocks_parquet", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"timestamp": {"type": "bigint", "index": 1, "name": "timestamp", "comment": null}, "block_number": {"type": "bigint", "index": 2, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_collateral", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "amount": {"type": "text", "index": 6, "name": "amount", "comment": null}, "value": {"type": "text", "index": 7, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_get_vault_debt", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "bigint", "index": 1, "name": "block_number", "comment": null}, "contract_address": {"type": "text", "index": 2, "name": "contract_address", "comment": null}, "chain_id": {"type": "text", "index": 3, "name": "chain_id", "comment": null}, "pool_id": {"type": "text", "index": 4, "name": "pool_id", "comment": null}, "collateral_type": {"type": "text", "index": 5, "name": "collateral_type", "comment": null}, "value_1": {"type": "text", "index": 6, "name": "value_1", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 2, "name": "id", "comment": null}, "owner": {"type": "text", "index": 3, "name": "owner", "comment": null}, "account_id": {"type": "numeric", "index": 4, "name": "account_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}, "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_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}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "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}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_id", "comment": null}, "sender": {"type": "text", "index": 8, "name": "sender", "comment": null}, "leverage": {"type": "numeric", "index": 9, "name": "leverage", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 12, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_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": {"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}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_arbitrum_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "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}, "event_name": {"type": "text", "index": 4, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 5, "name": "liquidate_as_account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 6, "name": "liquidation_data", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "pool_id": {"type": "numeric", "index": 11, "name": "pool_id", "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.core_proxy_event_liquidation"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "net_issuance": {"type": "numeric", "index": 2, "name": "net_issuance", "comment": null}, "contract": {"type": "text", "index": 3, "name": "contract", "comment": null}, "reported_debt": {"type": "numeric", "index": 4, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 8, "name": "block_timestamp", "comment": null}, "token_amount": {"type": "numeric", "index": 9, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 10, "name": "transaction_hash", "comment": null}, "event_name": {"type": "text", "index": 11, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 12, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 13, "name": "block_number", "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_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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "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}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 7, "name": "deposited_collateral_value", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "token_amount": {"type": "numeric", "index": 10, "name": "token_amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 11, "name": "block_timestamp", "comment": null}, "reported_debt": {"type": "numeric", "index": 12, "name": "reported_debt", "comment": null}, "id": {"type": "character varying", "index": 13, "name": "id", "comment": null}, "sender": {"type": "text", "index": 14, "name": "sender", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_market_registered", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "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}, "id": {"type": "character varying", "index": 5, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "market_id": {"type": "numeric", "index": 8, "name": "market_id", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "target": {"type": "text", "index": 3, "name": "target", "comment": null}, "market_id": {"type": "numeric", "index": 4, "name": "market_id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 6, "name": "contract", "comment": null}, "market": {"type": "text", "index": 7, "name": "market", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "amount": {"type": "numeric", "index": 9, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 11, "name": "block_number", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "net_issuance": {"type": "numeric", "index": 13, "name": "net_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": "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": {"amount": {"type": "numeric", "index": 1, "name": "amount", "comment": null}, "market": {"type": "text", "index": 2, "name": "market", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "net_issuance": {"type": "numeric", "index": 4, "name": "net_issuance", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 5, "name": "deposited_collateral_value", "comment": null}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "target": {"type": "text", "index": 8, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "credit_capacity": {"type": "numeric", "index": 10, "name": "credit_capacity", "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}, "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_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": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 2, "name": "block_timestamp", "comment": null}, "sender": {"type": "text", "index": 3, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "owner": {"type": "text", "index": 5, "name": "owner", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 8, "name": "id", "comment": null}, "pool_id": {"type": "numeric", "index": 9, "name": "pool_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "core_proxy_event_rewards_claimed", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"pool_id": {"type": "numeric", "index": 1, "name": "pool_id", "comment": null}, "account_id": {"type": "numeric", "index": 2, "name": "account_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 5, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 8, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "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}}, "stats": {"has_stats": {"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}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "block_number": {"type": "integer", "index": 7, "name": "block_number", "comment": null}, "distributor": {"type": "text", "index": 8, "name": "distributor", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "duration": {"type": "numeric", "index": 10, "name": "duration", "comment": null}, "start": {"type": "numeric", "index": 11, "name": "start", "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.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": {"transaction_hash": {"type": "text", "index": 1, "name": "transaction_hash", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "account_id": {"type": "numeric", "index": 5, "name": "account_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}, "sender": {"type": "text", "index": 10, "name": "sender", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "pool_id": {"type": "numeric", "index": 2, "name": "pool_id", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "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}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "sender": {"type": "text", "index": 7, "name": "sender", "comment": null}, "amount": {"type": "numeric", "index": 8, "name": "amount", "comment": null}, "event_name": {"type": "text", "index": 9, "name": "event_name", "comment": null}, "block_number": {"type": "integer", "index": 10, "name": "block_number", "comment": null}, "collateral_type": {"type": "text", "index": 11, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_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_timestamp": {"type": "timestamp with time zone", "index": 1, "name": "block_timestamp", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "collateral_type": {"type": "text", "index": 3, "name": "collateral_type", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 9, "name": "liquidate_as_account_id", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "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_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": {"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}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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}}, "stats": {"has_stats": {"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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "async_order_claim": {"type": "jsonb", "index": 2, "name": "async_order_claim", "comment": null}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "async_order_id": {"type": "numeric", "index": 6, "name": "async_order_id", "comment": null}, "market_id": {"type": "numeric", "index": 7, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 8, "name": "event_name", "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_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": {"id": {"type": "character varying", "index": 1, "name": "id", "comment": null}, "async_order_id": {"type": "numeric", "index": 2, "name": "async_order_id", "comment": null}, "amount_provided": {"type": "numeric", "index": 3, "name": "amount_provided", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 5, "name": "sender", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "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}, "referrer": {"type": "text", "index": 11, "name": "referrer", "comment": null}, "order_type": {"type": "integer", "index": 12, "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_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": {"order_type": {"type": "integer", "index": 1, "name": "order_type", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "settler": {"type": "text", "index": 3, "name": "settler", "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}, "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}, "market_id": {"type": "numeric", "index": 9, "name": "market_id", "comment": null}, "collected_fees": {"type": "numeric", "index": 10, "name": "collected_fees", "comment": null}, "final_order_amount": {"type": "numeric", "index": 11, "name": "final_order_amount", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "price": {"type": "numeric", "index": 13, "name": "price", "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": {"price": {"type": "numeric", "index": 1, "name": "price", "comment": null}, "referrer": {"type": "text", "index": 2, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 3, "name": "event_name", "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}, "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}, "synth_returned": {"type": "numeric", "index": 10, "name": "synth_returned", "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}, "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}, "synth_market_id": {"type": "numeric", "index": 4, "name": "synth_market_id", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "transaction_hash": {"type": "text", "index": 6, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "block_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.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": {"amount_returned": {"type": "numeric", "index": 1, "name": "amount_returned", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 3, "name": "synth_market_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}, "referrer": {"type": "text", "index": 6, "name": "referrer", "comment": null}, "event_name": {"type": "text", "index": 7, "name": "event_name", "comment": null}, "price": {"type": "numeric", "index": 8, "name": "price", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}, "id": {"type": "character varying", "index": 10, "name": "id", "comment": null}, "collected_fees": {"type": "numeric", "index": 11, "name": "collected_fees", "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.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": {"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}, "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}, "block_number": {"type": "integer", "index": 6, "name": "block_number", "comment": null}, "fees_collected": {"type": "numeric", "index": 7, "name": "fees_collected", "comment": null}, "fees": {"type": "jsonb", "index": 8, "name": "fees", "comment": null}, "synth_market_id": {"type": "numeric", "index": 9, "name": "synth_market_id", "comment": null}, "amount_unwrapped": {"type": "numeric", "index": 10, "name": "amount_unwrapped", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped"}, "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped": {"metadata": {"type": "BASE TABLE", "schema": "raw_arbitrum_mainnet", "name": "spot_market_proxy_event_synth_wrapped", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "fees": {"type": "jsonb", "index": 2, "name": "fees", "comment": null}, "fees_collected": {"type": "numeric", "index": 3, "name": "fees_collected", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "synth_market_id": {"type": "numeric", "index": 6, "name": "synth_market_id", "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}, "amount_wrapped": {"type": "numeric", "index": 10, "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": "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_eth_mainnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "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_eth_mainnet.block"}, "source.synthetix.raw_eth_mainnet.blocks_parquet": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_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_eth_mainnet.blocks_parquet"}, "source.synthetix.raw_eth_mainnet.core_get_vault_collateral": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_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_eth_mainnet.core_get_vault_collateral"}, "source.synthetix.raw_eth_mainnet.core_get_vault_debt": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_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_eth_mainnet.core_get_vault_debt"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_account_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"account_id": {"type": "numeric", "index": 1, "name": "account_id", "comment": null}, "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}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "owner": {"type": "text", "index": 6, "name": "owner", "comment": null}, "contract": {"type": "text", "index": 7, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_delegation_updated", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"leverage": {"type": "numeric", "index": 1, "name": "leverage", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 3, "name": "amount", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 5, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "pool_id": {"type": "numeric", "index": 7, "name": "pool_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}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_deposited", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "account_id": {"type": "numeric", "index": 6, "name": "account_id", "comment": null}, "token_amount": {"type": "numeric", "index": 7, "name": "token_amount", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "sender": {"type": "text", "index": 9, "name": "sender", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_liquidation", "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}, "liquidate_as_account_id": {"type": "numeric", "index": 8, "name": "liquidate_as_account_id", "comment": null}, "liquidation_data": {"type": "jsonb", "index": 9, "name": "liquidation_data", "comment": null}, "sender": {"type": "text", "index": 10, "name": "sender", "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_eth_mainnet.core_proxy_event_liquidation"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_collateral_deposited", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 2, "name": "deposited_collateral_value", "comment": null}, "credit_capacity": {"type": "numeric", "index": 3, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 4, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 5, "name": "net_issuance", "comment": null}, "sender": {"type": "text", "index": 6, "name": "sender", "comment": null}, "reported_debt": {"type": "numeric", "index": 7, "name": "reported_debt", "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}, "token_amount": {"type": "numeric", "index": 10, "name": "token_amount", "comment": null}, "transaction_hash": {"type": "text", "index": 11, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 12, "name": "id", "comment": null}, "event_name": {"type": "text", "index": 13, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 14, "name": "collateral_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "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}, "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}, "reported_debt": {"type": "numeric", "index": 11, "name": "reported_debt", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 12, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 13, "name": "market_id", "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_eth_mainnet.core_proxy_event_market_collateral_withdrawn"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_registered", "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}, "market": {"type": "text", "index": 3, "name": "market", "comment": null}, "sender": {"type": "text", "index": 4, "name": "sender", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "id": {"type": "character varying", "index": 6, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 7, "name": "transaction_hash", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 9, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "market_id": {"type": "numeric", "index": 6, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 7, "name": "amount", "comment": null}, "credit_capacity": {"type": "numeric", "index": 8, "name": "credit_capacity", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "market": {"type": "text", "index": 11, "name": "market", "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_eth_mainnet.core_proxy_event_market_usd_deposited"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_market_usd_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"target": {"type": "text", "index": 1, "name": "target", "comment": null}, "event_name": {"type": "text", "index": 2, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 3, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 4, "name": "transaction_hash", "comment": null}, "market_id": {"type": "numeric", "index": 5, "name": "market_id", "comment": null}, "amount": {"type": "numeric", "index": 6, "name": "amount", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "block_number": {"type": "integer", "index": 8, "name": "block_number", "comment": null}, "market": {"type": "text", "index": 9, "name": "market", "comment": null}, "net_issuance": {"type": "numeric", "index": 10, "name": "net_issuance", "comment": null}, "credit_capacity": {"type": "numeric", "index": 11, "name": "credit_capacity", "comment": null}, "contract": {"type": "text", "index": 12, "name": "contract", "comment": null}, "deposited_collateral_value": {"type": "numeric", "index": 13, "name": "deposited_collateral_value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_pool_created", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"block_number": {"type": "integer", "index": 1, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 2, "name": "contract", "comment": null}, "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_eth_mainnet.core_proxy_event_pool_created"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_rewards_claimed", "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}, "distributor": {"type": "text", "index": 10, "name": "distributor", "comment": null}, "amount": {"type": "numeric", "index": 11, "name": "amount", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_rewards_distributed", "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}, "transaction_hash": {"type": "text", "index": 3, "name": "transaction_hash", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 5, "name": "block_timestamp", "comment": null}, "pool_id": {"type": "numeric", "index": 6, "name": "pool_id", "comment": null}, "distributor": {"type": "text", "index": 7, "name": "distributor", "comment": null}, "start": {"type": "numeric", "index": 8, "name": "start", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "amount": {"type": "numeric", "index": 10, "name": "amount", "comment": null}, "duration": {"type": "numeric", "index": 11, "name": "duration", "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_eth_mainnet.core_proxy_event_rewards_distributed"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_usd_burned", "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}, "pool_id": {"type": "numeric", "index": 5, "name": "pool_id", "comment": null}, "event_name": {"type": "text", "index": 6, "name": "event_name", "comment": null}, "id": {"type": "character varying", "index": 7, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 8, "name": "transaction_hash", "comment": null}, "account_id": {"type": "numeric", "index": 9, "name": "account_id", "comment": null}, "collateral_type": {"type": "text", "index": 10, "name": "collateral_type", "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_eth_mainnet.core_proxy_event_usd_burned"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_usd_minted", "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_eth_mainnet.core_proxy_event_usd_minted"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_vault_liquidation", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"sender": {"type": "text", "index": 1, "name": "sender", "comment": null}, "liquidate_as_account_id": {"type": "numeric", "index": 2, "name": "liquidate_as_account_id", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 4, "name": "contract", "comment": null}, "event_name": {"type": "text", "index": 5, "name": "event_name", "comment": null}, "collateral_type": {"type": "text", "index": 6, "name": "collateral_type", "comment": null}, "block_timestamp": {"type": "timestamp with time zone", "index": 7, "name": "block_timestamp", "comment": null}, "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}, "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_eth_mainnet.core_proxy_event_vault_liquidation"}, "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "core_proxy_event_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "sender": {"type": "text", "index": 2, "name": "sender", "comment": null}, "block_number": {"type": "integer", "index": 3, "name": "block_number", "comment": null}, "id": {"type": "character varying", "index": 4, "name": "id", "comment": null}, "transaction_hash": {"type": "text", "index": 5, "name": "transaction_hash", "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}, "collateral_type": {"type": "text", "index": 9, "name": "collateral_type", "comment": null}, "event_name": {"type": "text", "index": 10, "name": "event_name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn"}, "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated": {"metadata": {"type": "BASE TABLE", "schema": "raw_eth_mainnet", "name": "legacy_market_proxy_event_account_migrated", "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}, "collateral_amount": {"type": "numeric", "index": 3, "name": "collateral_amount", "comment": null}, "staker": {"type": "text", "index": 4, "name": "staker", "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}, "debt_amount": {"type": "numeric", "index": 8, "name": "debt_amount", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "contract": {"type": "text", "index": 10, "name": "contract", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated"}, "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"}, "source.synthetix.raw_snax_testnet.block": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_testnet", "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_snax_testnet.block"}, "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_recorded": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_testnet", "name": "governance_proxy_event_vote_recorded", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"event_name": {"type": "text", "index": 1, "name": "event_name", "comment": null}, "chain_id": {"type": "numeric", "index": 2, "name": "chain_id", "comment": null}, "epoch_id": {"type": "numeric", "index": 3, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 4, "name": "voter", "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}, "voting_power": {"type": "numeric", "index": 8, "name": "voting_power", "comment": null}, "block_number": {"type": "integer", "index": 9, "name": "block_number", "comment": null}, "candidates": {"type": "jsonb", "index": 10, "name": "candidates", "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_snax_testnet.governance_proxy_event_vote_recorded"}, "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_withdrawn": {"metadata": {"type": "BASE TABLE", "schema": "raw_snax_testnet", "name": "governance_proxy_event_vote_withdrawn", "database": "analytics", "comment": null, "owner": "postgres"}, "columns": {"contract": {"type": "text", "index": 1, "name": "contract", "comment": null}, "block_number": {"type": "integer", "index": 2, "name": "block_number", "comment": null}, "epoch_id": {"type": "numeric", "index": 3, "name": "epoch_id", "comment": null}, "voter": {"type": "text", "index": 4, "name": "voter", "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}, "event_name": {"type": "text", "index": 8, "name": "event_name", "comment": null}, "chain_id": {"type": "numeric", "index": 9, "name": "chain_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_withdrawn"}}, "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..cc898f83
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_account_delegation_arbitrum_mainnet.sql
@@ -0,0 +1,64 @@
+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,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated as amount_delegated,
+ CAST(
+ account_id as text
+ ) as account_id
+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..b70fc312
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_arbitrum_mainnet.sql
@@ -0,0 +1,234 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.collateral_value,
+ pnl_hourly.debt,
+ pnl_hourly.hourly_pnl,
+ pnl_hourly.cumulative_pnl,
+ pnl_hourly.hourly_issuance,
+ pnl_hourly.cumulative_issuance,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.hourly_pnl_pct,
+ pnl_hourly.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
+ inner 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..c2db121f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_apr_rewards_arbitrum_mainnet.sql
@@ -0,0 +1,111 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.reward_token,
+ pnl_hourly.collateral_value,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.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
+ inner 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..d18ecb6a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_market_updated_arbitrum_mainnet.sql
@@ -0,0 +1,36 @@
+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..b15ee626
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_collateral_arbitrum_mainnet.sql
@@ -0,0 +1,43 @@
+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..60637e2c
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_core_pool_delegation_arbitrum_mainnet.sql
@@ -0,0 +1,49 @@
+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..aa7b4d63
--- /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..5db3932e
--- /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..26d88143
--- /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..b614ef7f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_issuance_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,122 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::interval
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as "hour",
+ 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
+ i.pool_id,
+ i.collateral_type,
+ i.amount,
+ 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
+ from
+ "analytics"."prod_arbitrum_mainnet"."fct_pool_issuance_arbitrum_mainnet"
+ as i
+ left join max_debt_block as 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
+ ) as b
+ 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
+ date_trunc(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ i.hourly_issuance,
+ 0
+ ) as hourly_issuance
+from
+ dim
+left join issuance as 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..6c80a681
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,214 @@
+
+
+with dim as (
+ select
+ p.pool_id,
+ p.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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,
+ coalesce(
+ last(debt) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as debt,
+ coalesce(
+ last(collateral_value) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as collateral_value
+ 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_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
+ ffill
+),
+
+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
+ ) as 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 as pnl
+ left join hourly_rewards as rewards
+ on
+ pnl.ts = rewards.ts
+ and pnl.pool_id = rewards.pool_id
+ and pnl.collateral_type = rewards.collateral_type
+ left join issuance as 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..97e54743
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_pnl_hourly_reward_arbitrum_mainnet.sql
@@ -0,0 +1,83 @@
+
+
+with dim as (
+ select
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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..b3ef277b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_arbitrum_mainnet.sql
@@ -0,0 +1,39 @@
+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 as rd
+inner join distributors on rd.distributor = distributors.distributor_address
+order by
+ rd.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..c6469c25
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,21 @@
+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..f28594a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/core/fct_pool_rewards_token_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,124 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as 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"
+ as 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..8a327a88
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_arbitrum_mainnet.sql
@@ -0,0 +1,36 @@
+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,
+ p.price,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) as market_symbol
+from
+ all_prices as p
+left join tokens as 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..cbafa096
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/prices/fct_prices_hourly_arbitrum_mainnet.sql
@@ -0,0 +1,72 @@
+with prices as (
+ select distinct
+ market_symbol,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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,
+ LAST(prices.price) over (
+ partition by dim.market_symbol
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ) as price
+ from
+ dim
+ left join prices
+ on
+ dim.ts = prices.ts
+ and dim.market_symbol = prices.market_symbol
+),
+
+hourly_prices as (
+ select
+ ts,
+ market_symbol,
+ 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..14704ac7
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_atomics_arbitrum_mainnet.sql
@@ -0,0 +1,61 @@
+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..90ff0e89
--- /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..8d8695b6
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_spot_wrapper_arbitrum_mainnet.sql
@@ -0,0 +1,49 @@
+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..854303d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/mainnet/spot/fct_synth_supply_arbitrum_mainnet.sql
@@ -0,0 +1,76 @@
+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..2604b64f
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_account_delegation_arbitrum_sepolia.sql
@@ -0,0 +1,64 @@
+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,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated as amount_delegated,
+ CAST(
+ account_id as text
+ ) as account_id
+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..d727c6f1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_arbitrum_sepolia.sql
@@ -0,0 +1,234 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.collateral_value,
+ pnl_hourly.debt,
+ pnl_hourly.hourly_pnl,
+ pnl_hourly.cumulative_pnl,
+ pnl_hourly.hourly_issuance,
+ pnl_hourly.cumulative_issuance,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.hourly_pnl_pct,
+ pnl_hourly.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
+ inner 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..8b64e936
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_apr_rewards_arbitrum_sepolia.sql
@@ -0,0 +1,111 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.reward_token,
+ pnl_hourly.collateral_value,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.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
+ inner 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..3f000c7e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_market_updated_arbitrum_sepolia.sql
@@ -0,0 +1,36 @@
+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..f1aea719
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_collateral_arbitrum_sepolia.sql
@@ -0,0 +1,43 @@
+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..39f7666e
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_core_pool_delegation_arbitrum_sepolia.sql
@@ -0,0 +1,49 @@
+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..0b67386d
--- /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..c92966b5
--- /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..2711e2a8
--- /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..da997b92
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_issuance_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,122 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::interval
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as "hour",
+ 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
+ i.pool_id,
+ i.collateral_type,
+ i.amount,
+ 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
+ from
+ "analytics"."prod_arbitrum_sepolia"."fct_pool_issuance_arbitrum_sepolia"
+ as i
+ left join max_debt_block as 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
+ ) as b
+ 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
+ date_trunc(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ i.hourly_issuance,
+ 0
+ ) as hourly_issuance
+from
+ dim
+left join issuance as 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..b1d2489a
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,214 @@
+
+
+with dim as (
+ select
+ p.pool_id,
+ p.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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,
+ coalesce(
+ last(debt) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as debt,
+ coalesce(
+ last(collateral_value) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as collateral_value
+ 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_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
+ ffill
+),
+
+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
+ ) as 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 as pnl
+ left join hourly_rewards as rewards
+ on
+ pnl.ts = rewards.ts
+ and pnl.pool_id = rewards.pool_id
+ and pnl.collateral_type = rewards.collateral_type
+ left join issuance as 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..4e2aa19d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_pnl_hourly_reward_arbitrum_sepolia.sql
@@ -0,0 +1,84 @@
+
+
+with dim as (
+
+ select
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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..f0b5c61b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_arbitrum_sepolia.sql
@@ -0,0 +1,39 @@
+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 as rd
+inner 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..ec1ebe6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,21 @@
+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..773d46f0
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/core/fct_pool_rewards_token_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,124 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as 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"
+ as 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..c5b2050d
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_arbitrum_sepolia.sql
@@ -0,0 +1,36 @@
+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,
+ p.price,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) as market_symbol
+from
+ all_prices as p
+left join tokens as 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..bc888850
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/prices/fct_prices_hourly_arbitrum_sepolia.sql
@@ -0,0 +1,72 @@
+with prices as (
+ select distinct
+ market_symbol,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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,
+ LAST(prices.price) over (
+ partition by dim.market_symbol
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ) as price
+ from
+ dim
+ left join prices
+ on
+ dim.ts = prices.ts
+ and dim.market_symbol = prices.market_symbol
+),
+
+hourly_prices as (
+ select
+ ts,
+ market_symbol,
+ 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..0fb554d1
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_atomics_arbitrum_sepolia.sql
@@ -0,0 +1,61 @@
+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..18de1ace
--- /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..934c95a8
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_spot_wrapper_arbitrum_sepolia.sql
@@ -0,0 +1,49 @@
+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..724f51e5
--- /dev/null
+++ b/compiled/synthetix/models/marts/arbitrum/sepolia/spot/fct_synth_supply_arbitrum_sepolia.sql
@@ -0,0 +1,76 @@
+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..bbf91220
--- /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..be37b328
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_daily_base_mainnet.sql
@@ -0,0 +1,31 @@
+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
+ date_trunc(
+ 'day',
+ ts
+ )
+) -- 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..fe1e19a9
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/buyback/fct_buyback_hourly_base_mainnet.sql
@@ -0,0 +1,31 @@
+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
+ date_trunc(
+ 'hour',
+ ts
+ )
+) -- 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..317d86b3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_account_delegation_base_mainnet.sql
@@ -0,0 +1,64 @@
+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,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated as amount_delegated,
+ CAST(
+ account_id as text
+ ) as account_id
+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..1abe915f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_base_mainnet.sql
@@ -0,0 +1,234 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.collateral_value,
+ pnl_hourly.debt,
+ pnl_hourly.hourly_pnl,
+ pnl_hourly.cumulative_pnl,
+ pnl_hourly.hourly_issuance,
+ pnl_hourly.cumulative_issuance,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.hourly_pnl_pct,
+ pnl_hourly.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
+ inner 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..22fdea3a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_apr_rewards_base_mainnet.sql
@@ -0,0 +1,111 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.reward_token,
+ pnl_hourly.collateral_value,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.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
+ inner 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..eefcafa0
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_market_updated_base_mainnet.sql
@@ -0,0 +1,36 @@
+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..ea846393
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_collateral_base_mainnet.sql
@@ -0,0 +1,43 @@
+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..e91718a5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_core_pool_delegation_base_mainnet.sql
@@ -0,0 +1,49 @@
+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..460d127e
--- /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..be7fe4d1
--- /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..c5c940bf
--- /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..e0e37bdf
--- /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..92b77e2a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_issuance_hourly_base_mainnet.sql
@@ -0,0 +1,122 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::interval
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as "hour",
+ 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
+ i.pool_id,
+ i.collateral_type,
+ i.amount,
+ 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
+ from
+ "analytics"."prod_base_mainnet"."fct_pool_issuance_base_mainnet"
+ as i
+ left join max_debt_block as 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
+ ) as b
+ 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
+ date_trunc(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ i.hourly_issuance,
+ 0
+ ) as hourly_issuance
+from
+ dim
+left join issuance as 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..b08b21b8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_base_mainnet.sql
@@ -0,0 +1,214 @@
+
+
+with dim as (
+ select
+ p.pool_id,
+ p.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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,
+ coalesce(
+ last(debt) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as debt,
+ coalesce(
+ last(collateral_value) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as collateral_value
+ 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_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
+ ffill
+),
+
+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
+ ) as 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 as pnl
+ left join hourly_rewards as rewards
+ on
+ pnl.ts = rewards.ts
+ and pnl.pool_id = rewards.pool_id
+ and pnl.collateral_type = rewards.collateral_type
+ left join issuance as 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..95958296
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_pnl_hourly_reward_base_mainnet.sql
@@ -0,0 +1,84 @@
+
+
+with dim as (
+
+ select
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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..abf775e8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_base_mainnet.sql
@@ -0,0 +1,39 @@
+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 as rd
+inner 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..4825c370
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_hourly_base_mainnet.sql
@@ -0,0 +1,21 @@
+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..a630f712
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/core/fct_pool_rewards_token_hourly_base_mainnet.sql
@@ -0,0 +1,124 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as 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"
+ as 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..e9cc1348
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_accounts_base_mainnet.sql
@@ -0,0 +1,14 @@
+with base as (
+ select
+ block_timestamp as created_ts,
+ "owner",
+ CAST(
+ account_id as VARCHAR
+ ) as id
+ 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..329d7e4e
--- /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..aa579b94
--- /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..d454f5c4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_account_base_mainnet.sql
@@ -0,0 +1,61 @@
+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
+ block_timestamp,
+ reward,
+ full_liquidation,
+ liquidation_id,
+ CAST(
+ account_id as text
+ ) as account_id,
+ SUM(
+ reward / 1e18
+) over (
+ partition by
+ account_id,
+ liquidation_id
+ order by
+ block_timestamp
+ ) as cumulative_reward,
+ ROW_NUMBER() over (
+ partition by
+ account_id,
+ liquidation_id
+ order by
+ block_timestamp desc
+ ) as rn
+ from
+ liquidation_events
+ 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..b550f468
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_liq_position_base_mainnet.sql
@@ -0,0 +1,42 @@
+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,
+ l.market_id,
+ m.market_symbol,
+ l.amount_liquidated,
+ l.position_size,
+ CAST(
+ l.account_id as text
+ ) as account_id
+from
+ liquidations as l
+left join markets as 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..c8b25baa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_market_history_base_mainnet.sql
@@ -0,0 +1,76 @@
+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"
+ as mu
+ left join
+ "analytics"."prod_base_mainnet"."fct_perp_markets_base_mainnet"
+ as 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..af40ac8e
--- /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..bcec1baa
--- /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"
+ as 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..68695d17
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_pnl_base_mainnet.sql
@@ -0,0 +1,18 @@
+
+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..2f82a4c2
--- /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..c0fcbda5
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp/fct_perp_trades_base_mainnet.sql
@@ -0,0 +1,70 @@
+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..bb2e3486
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_daily_base_mainnet.sql
@@ -0,0 +1,45 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ account_id
+),
+
+stats as (
+ select
+ *,
+ 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..dc309ecf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_account_stats_hourly_base_mainnet.sql
@@ -0,0 +1,119 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ account_id
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ account_id
+),
+
+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 as h
+ left join inc_liq as 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..813fd013
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_daily_base_mainnet.sql
@@ -0,0 +1,44 @@
+with hourly as (
+ select
+ keeper,
+ settlement_rewards,
+ amount_settled,
+ trades,
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) as ts
+ 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
+ ts
+)
+
+select
+ hourly.ts,
+ hourly.keeper,
+ SUM(hourly.trades) as trades,
+ SUM(hourly.settlement_rewards) as settlement_rewards,
+ SUM(hourly.amount_settled) as amount_settled,
+ SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,
+ SUM(hourly.settlement_rewards)
+ / MAX(total.settlement_reward_total) as settlement_rewards_pct,
+ SUM(hourly.amount_settled)
+ / MAX(total.amount_settled_total) as amount_settled_pct
+from
+ hourly
+inner join total
+ on hourly.ts = total.ts
+group by
+ hourly.ts,
+ hourly.keeper
\ 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..9af1a0aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_keeper_stats_hourly_base_mainnet.sql
@@ -0,0 +1,44 @@
+with trades as (
+ select
+ settler,
+ settlement_reward,
+ notional_trade_size,
+ 1 as trades,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts
+ 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
+ ts
+)
+
+select
+ trades.ts,
+ trades.settler as keeper,
+ SUM(trades.trades) as trades,
+ SUM(trades.settlement_reward) as settlement_rewards,
+ SUM(trades.notional_trade_size) as amount_settled,
+ SUM(trades.trades) / MAX(total.trades_total) as trades_pct,
+ SUM(trades.settlement_reward)
+ / MAX(total.settlement_reward_total) as settlement_rewards_pct,
+ SUM(trades.notional_trade_size)
+ / MAX(total.notional_trade_size_total) as amount_settled_pct
+from
+ trades
+inner join total
+ on trades.ts = total.ts
+group by
+ trades.ts,
+ trades.settler
\ 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..6f24a0fe
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_daily_base_mainnet.sql
@@ -0,0 +1,25 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ market_symbol
\ 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..ac8eaad6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_market_stats_hourly_base_mainnet.sql
@@ -0,0 +1,162 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ market_symbol
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ market_symbol
+),
+
+dim as (
+ select
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as h
+ on
+ dim.ts = h.ts
+ and dim.market_symbol = h.market_symbol
+ left join inc_liq as 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..1da61a16
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_daily_base_mainnet.sql
@@ -0,0 +1,23 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ )
\ 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..d0542f1b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_stats_hourly_base_mainnet.sql
@@ -0,0 +1,91 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ )
+),
+
+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
+ ts
+),
+
+inc as (
+ select
+ h.ts,
+ h.trades,
+ h.exchange_fees,
+ h.referral_fees,
+ h.collected_fees,
+ h.volume,
+ h.cumulative_exchange_fees,
+ h.cumulative_referral_fees,
+ h.cumulative_collected_fees,
+ h.cumulative_volume,
+ COALESCE(
+ l.liquidation_rewards,
+ 0
+ ) as liquidation_rewards,
+ COALESCE(
+ l.liquidated_accounts,
+ 0
+ ) as liquidated_accounts
+ from
+ inc_trade as h
+ left join inc_liq as 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..2b311e26
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_daily_base_mainnet.sql
@@ -0,0 +1,93 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ ts
+)
+
+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
+inner join accounts
+ on
+ trades.ts = accounts.ts
+ and trades.tracking_code = accounts.tracking_code
+inner 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..1df05afd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/perp_stats/fct_perp_tracking_stats_hourly_base_mainnet.sql
@@ -0,0 +1,93 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ ts
+)
+
+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
+inner join accounts
+ on
+ trades.ts = accounts.ts
+ and trades.tracking_code = accounts.tracking_code
+inner 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..51d5fd2e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_base_mainnet.sql
@@ -0,0 +1,54 @@
+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,
+ p.price,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) as market_symbol
+from
+ all_prices as p
+left join tokens as 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..73b69f38
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/prices/fct_prices_hourly_base_mainnet.sql
@@ -0,0 +1,72 @@
+with prices as (
+ select distinct
+ market_symbol,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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,
+ LAST(prices.price) over (
+ partition by dim.market_symbol
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ) as price
+ from
+ dim
+ left join prices
+ on
+ dim.ts = prices.ts
+ and dim.market_symbol = prices.market_symbol
+),
+
+hourly_prices as (
+ select
+ ts,
+ market_symbol,
+ 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..715a5260
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_atomics_base_mainnet.sql
@@ -0,0 +1,61 @@
+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..1655d2e0
--- /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..8c77b9dc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_spot_wrapper_base_mainnet.sql
@@ -0,0 +1,49 @@
+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..51b4cfa4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/mainnet/spot/fct_synth_supply_base_mainnet.sql
@@ -0,0 +1,76 @@
+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..648191f3
--- /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..5fa51ddc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_daily_base_sepolia.sql
@@ -0,0 +1,31 @@
+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
+ date_trunc(
+ 'day',
+ ts
+ )
+) -- 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..f1a8f71b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/buyback/fct_buyback_hourly_base_sepolia.sql
@@ -0,0 +1,31 @@
+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
+ date_trunc(
+ 'hour',
+ ts
+ )
+) -- 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..d432a797
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_account_delegation_base_sepolia.sql
@@ -0,0 +1,64 @@
+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,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated as amount_delegated,
+ CAST(
+ account_id as text
+ ) as account_id
+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..a2e02c6b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_base_sepolia.sql
@@ -0,0 +1,234 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.collateral_value,
+ pnl_hourly.debt,
+ pnl_hourly.hourly_pnl,
+ pnl_hourly.cumulative_pnl,
+ pnl_hourly.hourly_issuance,
+ pnl_hourly.cumulative_issuance,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.hourly_pnl_pct,
+ pnl_hourly.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
+ inner 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..a30263b1
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_apr_rewards_base_sepolia.sql
@@ -0,0 +1,111 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.reward_token,
+ pnl_hourly.collateral_value,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.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
+ inner 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..021ad9f4
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_market_updated_base_sepolia.sql
@@ -0,0 +1,36 @@
+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..d6076b14
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_collateral_base_sepolia.sql
@@ -0,0 +1,43 @@
+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..df1a6bf7
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_core_pool_delegation_base_sepolia.sql
@@ -0,0 +1,49 @@
+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..9b854a33
--- /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..b937213f
--- /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..b2f7433a
--- /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..7f44464c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_issuance_hourly_base_sepolia.sql
@@ -0,0 +1,122 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::interval
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as "hour",
+ 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
+ i.pool_id,
+ i.collateral_type,
+ i.amount,
+ 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
+ from
+ "analytics"."prod_base_sepolia"."fct_pool_issuance_base_sepolia"
+ as i
+ left join max_debt_block as 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
+ ) as b
+ 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
+ date_trunc(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ i.hourly_issuance,
+ 0
+ ) as hourly_issuance
+from
+ dim
+left join issuance as 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..36a190c8
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_base_sepolia.sql
@@ -0,0 +1,214 @@
+
+
+with dim as (
+ select
+ p.pool_id,
+ p.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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,
+ coalesce(
+ last(debt) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as debt,
+ coalesce(
+ last(collateral_value) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as collateral_value
+ 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_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
+ ffill
+),
+
+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
+ ) as 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 as pnl
+ left join hourly_rewards as rewards
+ on
+ pnl.ts = rewards.ts
+ and pnl.pool_id = rewards.pool_id
+ and pnl.collateral_type = rewards.collateral_type
+ left join issuance as 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..8c57631b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_pnl_hourly_reward_base_sepolia.sql
@@ -0,0 +1,84 @@
+
+
+with dim as (
+
+ select
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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..853328bf
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_base_sepolia.sql
@@ -0,0 +1,39 @@
+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 as rd
+inner 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..f95ed0bd
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_hourly_base_sepolia.sql
@@ -0,0 +1,21 @@
+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..9c5cf46f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/core/fct_pool_rewards_token_hourly_base_sepolia.sql
@@ -0,0 +1,124 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as 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"
+ as 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..16f2970e
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_accounts_base_sepolia.sql
@@ -0,0 +1,14 @@
+with base as (
+ select
+ block_timestamp as created_ts,
+ "owner",
+ CAST(
+ account_id as VARCHAR
+ ) as id
+ 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..5261f659
--- /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..dd84a815
--- /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..9a89857b
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_account_base_sepolia.sql
@@ -0,0 +1,61 @@
+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
+ block_timestamp,
+ reward,
+ full_liquidation,
+ liquidation_id,
+ CAST(
+ account_id as text
+ ) as account_id,
+ SUM(
+ reward / 1e18
+) over (
+ partition by
+ account_id,
+ liquidation_id
+ order by
+ block_timestamp
+ ) as cumulative_reward,
+ ROW_NUMBER() over (
+ partition by
+ account_id,
+ liquidation_id
+ order by
+ block_timestamp desc
+ ) as rn
+ from
+ liquidation_events
+ 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..f07c5ef6
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_liq_position_base_sepolia.sql
@@ -0,0 +1,42 @@
+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,
+ l.market_id,
+ m.market_symbol,
+ l.amount_liquidated,
+ l.position_size,
+ CAST(
+ l.account_id as text
+ ) as account_id
+from
+ liquidations as l
+left join markets as 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..9c3ad789
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_market_history_base_sepolia.sql
@@ -0,0 +1,76 @@
+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"
+ as mu
+ left join
+ "analytics"."prod_base_sepolia"."fct_perp_markets_base_sepolia"
+ as 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..cf05bfc1
--- /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..ccfa42a9
--- /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"
+ as 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..fb03a774
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_pnl_base_sepolia.sql
@@ -0,0 +1,18 @@
+
+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..f9eae6b9
--- /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..f5a74f2f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp/fct_perp_trades_base_sepolia.sql
@@ -0,0 +1,70 @@
+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..a22002ab
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_daily_base_sepolia.sql
@@ -0,0 +1,45 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ account_id
+),
+
+stats as (
+ select
+ *,
+ 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..ed96c90f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_account_stats_hourly_base_sepolia.sql
@@ -0,0 +1,119 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ account_id
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ account_id
+),
+
+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 as h
+ left join inc_liq as 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..1dba7a9f
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_daily_base_sepolia.sql
@@ -0,0 +1,44 @@
+with hourly as (
+ select
+ keeper,
+ settlement_rewards,
+ amount_settled,
+ trades,
+ DATE_TRUNC(
+ 'day',
+ ts
+ ) as ts
+ 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
+ ts
+)
+
+select
+ hourly.ts,
+ hourly.keeper,
+ SUM(hourly.trades) as trades,
+ SUM(hourly.settlement_rewards) as settlement_rewards,
+ SUM(hourly.amount_settled) as amount_settled,
+ SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,
+ SUM(hourly.settlement_rewards)
+ / MAX(total.settlement_reward_total) as settlement_rewards_pct,
+ SUM(hourly.amount_settled)
+ / MAX(total.amount_settled_total) as amount_settled_pct
+from
+ hourly
+inner join total
+ on hourly.ts = total.ts
+group by
+ hourly.ts,
+ hourly.keeper
\ 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..8eacb07c
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_keeper_stats_hourly_base_sepolia.sql
@@ -0,0 +1,44 @@
+with trades as (
+ select
+ settler,
+ settlement_reward,
+ notional_trade_size,
+ 1 as trades,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts
+ 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
+ ts
+)
+
+select
+ trades.ts,
+ trades.settler as keeper,
+ SUM(trades.trades) as trades,
+ SUM(trades.settlement_reward) as settlement_rewards,
+ SUM(trades.notional_trade_size) as amount_settled,
+ SUM(trades.trades) / MAX(total.trades_total) as trades_pct,
+ SUM(trades.settlement_reward)
+ / MAX(total.settlement_reward_total) as settlement_rewards_pct,
+ SUM(trades.notional_trade_size)
+ / MAX(total.notional_trade_size_total) as amount_settled_pct
+from
+ trades
+inner join total
+ on trades.ts = total.ts
+group by
+ trades.ts,
+ trades.settler
\ 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..f0d5b149
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_daily_base_sepolia.sql
@@ -0,0 +1,25 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ market_symbol
\ 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..1e1a18f3
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_market_stats_hourly_base_sepolia.sql
@@ -0,0 +1,162 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ market_symbol
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ market_symbol
+),
+
+dim as (
+ select
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as h
+ on
+ dim.ts = h.ts
+ and dim.market_symbol = h.market_symbol
+ left join inc_liq as 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..b1bc4439
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_daily_base_sepolia.sql
@@ -0,0 +1,23 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ )
\ 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..c2605aab
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_stats_hourly_base_sepolia.sql
@@ -0,0 +1,91 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ )
+),
+
+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
+ ts
+),
+
+inc as (
+ select
+ h.ts,
+ h.trades,
+ h.exchange_fees,
+ h.referral_fees,
+ h.collected_fees,
+ h.volume,
+ h.cumulative_exchange_fees,
+ h.cumulative_referral_fees,
+ h.cumulative_collected_fees,
+ h.cumulative_volume,
+ COALESCE(
+ l.liquidation_rewards,
+ 0
+ ) as liquidation_rewards,
+ COALESCE(
+ l.liquidated_accounts,
+ 0
+ ) as liquidated_accounts
+ from
+ inc_trade as h
+ left join inc_liq as 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..83deaced
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_daily_base_sepolia.sql
@@ -0,0 +1,93 @@
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ DATE_TRUNC(
+ 'day',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ ts
+)
+
+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
+inner join accounts
+ on
+ trades.ts = accounts.ts
+ and trades.tracking_code = accounts.tracking_code
+inner 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..6449e354
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/perp_stats/fct_perp_tracking_stats_hourly_base_sepolia.sql
@@ -0,0 +1,93 @@
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ),
+ tracking_code
+),
+
+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
+ ts
+)
+
+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
+inner join accounts
+ on
+ trades.ts = accounts.ts
+ and trades.tracking_code = accounts.tracking_code
+inner 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..a29e07aa
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_base_sepolia.sql
@@ -0,0 +1,54 @@
+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,
+ p.price,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) as market_symbol
+from
+ all_prices as p
+left join tokens as 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..dcf3c4db
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/prices/fct_prices_hourly_base_sepolia.sql
@@ -0,0 +1,72 @@
+with prices as (
+ select distinct
+ market_symbol,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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,
+ LAST(prices.price) over (
+ partition by dim.market_symbol
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ) as price
+ from
+ dim
+ left join prices
+ on
+ dim.ts = prices.ts
+ and dim.market_symbol = prices.market_symbol
+),
+
+hourly_prices as (
+ select
+ ts,
+ market_symbol,
+ 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..81b6945a
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_atomics_base_sepolia.sql
@@ -0,0 +1,61 @@
+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..8d0f351e
--- /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..140c9e83
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_spot_wrapper_base_sepolia.sql
@@ -0,0 +1,49 @@
+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..ae3f0cfc
--- /dev/null
+++ b/compiled/synthetix/models/marts/base/sepolia/spot/fct_synth_supply_base_sepolia.sql
@@ -0,0 +1,76 @@
+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..0d7809cc
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_account_delegation_eth_mainnet.sql
@@ -0,0 +1,64 @@
+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,
+ pool_id,
+ collateral_type,
+ cumulative_amount_delegated as amount_delegated,
+ CAST(
+ account_id as text
+ ) as account_id
+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..df7036de
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_eth_mainnet.sql
@@ -0,0 +1,237 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.collateral_value,
+ pnl_hourly.debt,
+ pnl_hourly.hourly_pnl,
+ pnl_hourly.cumulative_pnl,
+ pnl_hourly.hourly_issuance,
+ pnl_hourly.hourly_debt_migrated,
+ pnl_hourly.cumulative_issuance,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.hourly_pnl_pct,
+ pnl_hourly.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
+ inner 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..3c69121c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_apr_rewards_eth_mainnet.sql
@@ -0,0 +1,111 @@
+
+
+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,
+ pnl_hourly.pool_id,
+ pnl_hourly.collateral_type,
+ pnl_hourly.reward_token,
+ pnl_hourly.collateral_value,
+ pnl_hourly.rewards_usd,
+ pnl_hourly.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
+ inner 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..e44fcfb3
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_market_updated_eth_mainnet.sql
@@ -0,0 +1,36 @@
+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..bfde6fbf
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_eth_mainnet.sql
@@ -0,0 +1,18 @@
+select
+ block_timestamp as ts,
+ block_number,
+ transaction_hash,
+ 1 as pool_id, -- Spartan Council pool
+ -- SNX collateral
+ '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type,
+ 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..3cfad303
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_migration_hourly_eth_mainnet.sql
@@ -0,0 +1,63 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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
+),
+
+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
+ ts,
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ m.hourly_debt_migrated,
+ 0
+ ) as hourly_debt_migrated
+from
+ dim
+left join migration as 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..4bc6627c
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_collateral_eth_mainnet.sql
@@ -0,0 +1,43 @@
+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..4feacd0e
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_core_pool_delegation_eth_mainnet.sql
@@ -0,0 +1,49 @@
+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..84f601c6
--- /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..0130bbc0
--- /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..0627441d
--- /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..5aeb9198
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_issuance_hourly_eth_mainnet.sql
@@ -0,0 +1,122 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::interval
+ ) as ts
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as "hour",
+ 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
+ i.pool_id,
+ i.collateral_type,
+ i.amount,
+ 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
+ from
+ "analytics"."prod_eth_mainnet"."fct_pool_issuance_eth_mainnet"
+ as i
+ left join max_debt_block as 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
+ ) as b
+ 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
+ date_trunc(
+ 'hour',
+ ts
+ ),
+ pool_id,
+ collateral_type
+)
+
+select
+ dim.ts,
+ dim.pool_id,
+ dim.collateral_type,
+ coalesce(
+ i.hourly_issuance,
+ 0
+ ) as hourly_issuance
+from
+ dim
+left join issuance as 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..e9a42b05
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_eth_mainnet.sql
@@ -0,0 +1,241 @@
+
+
+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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ pool_id,
+ collateral_type,
+ date_trunc(
+ 'hour',
+ ts
+ ) as ts,
+ 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,
+ coalesce(
+ last(debt.debt) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as debt,
+ coalesce(
+ last(collateral.collateral_value) over (
+ partition by dim.collateral_type, dim.pool_id
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ),
+ 0
+ ) as collateral_value
+ 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_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
+ ffill
+),
+
+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
+ ) as 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 as pnl
+ left join hourly_rewards as rewards
+ on
+ pnl.ts = rewards.ts
+ and pnl.pool_id = rewards.pool_id
+ and pnl.collateral_type = rewards.collateral_type
+ left join issuance as 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 as 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..cbe83794
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_pnl_hourly_reward_eth_mainnet.sql
@@ -0,0 +1,84 @@
+
+
+with dim as (
+
+ select
+ t.pool_id,
+ t.collateral_type,
+ t.collateral_value,
+ p.token_symbol as reward_token,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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..7a802cb6
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_eth_mainnet.sql
@@ -0,0 +1,39 @@
+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 as rd
+inner 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..347b1dd8
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_hourly_eth_mainnet.sql
@@ -0,0 +1,21 @@
+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..c7a63dcf
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/core/fct_pool_rewards_token_hourly_eth_mainnet.sql
@@ -0,0 +1,124 @@
+with dim as (
+ select
+ m.pool_id,
+ m.collateral_type,
+ generate_series(
+ date_trunc('hour', min(t.ts)),
+ date_trunc('hour', max(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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 as 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"
+ as 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..a0f288d4
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_eth_mainnet.sql
@@ -0,0 +1,36 @@
+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,
+ p.price,
+ COALESCE(
+ t.token_symbol,
+ p.market_symbol
+ ) as market_symbol
+from
+ all_prices as p
+left join tokens as 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..c8fff6b7
--- /dev/null
+++ b/compiled/synthetix/models/marts/eth/mainnet/prices/fct_prices_hourly_eth_mainnet.sql
@@ -0,0 +1,72 @@
+with prices as (
+ select distinct
+ market_symbol,
+ DATE_TRUNC(
+ 'hour',
+ ts
+ ) as ts,
+ 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
+ m.market_symbol,
+ GENERATE_SERIES(
+ DATE_TRUNC('hour', MIN(t.ts)),
+ DATE_TRUNC('hour', MAX(t.ts)),
+ '1 hour'::INTERVAL
+ ) as ts
+ 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,
+ LAST(prices.price) over (
+ partition by dim.market_symbol
+ order by dim.ts
+ rows between unbounded preceding and current row
+ ) as price
+ from
+ dim
+ left join prices
+ on
+ dim.ts = prices.ts
+ and dim.market_symbol = prices.market_symbol
+),
+
+hourly_prices as (
+ select
+ ts,
+ market_symbol,
+ 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..5fb76be9
--- /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
+ block_number,
+ MIN(ts) as ts
+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..016df472
--- /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"
+
+ ) as collateral_deposited -- noqa: AL05
+ 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"
+
+ ) as collateral_withdrawn -- noqa: AL05
+ 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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+)
+
+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..5f7c0744
--- /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
+ block_number,
+ MIN(ts) as ts
+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..7d688555
--- /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"
+
+ ) as collateral_deposited -- noqa: AL05
+ 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"
+
+ ) as collateral_withdrawn -- noqa: AL05
+ 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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+)
+
+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..a2955117
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/blocks_base_mainnet.sql
@@ -0,0 +1,39 @@
+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
+ block_number,
+ MIN(ts) as ts
+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..d0a6b1e0
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/buyback/buyback_processed_base_mainnet.sql
@@ -0,0 +1,43 @@
+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..295a25b1
--- /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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+ 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"
+
+ ) as collateral_deposited -- noqa: AL05
+ 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"
+
+ ) as collateral_withdrawn -- noqa: AL05
+ 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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+)
+
+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..3676ceb2
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/core/core_vault_debt_base_mainnet.sql
@@ -0,0 +1,37 @@
+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..522f90f1
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_market_updated_base_mainnet.sql
@@ -0,0 +1,53 @@
+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..67de9b7c
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/mainnet/perp/perp_order_committed_base_mainnet.sql
@@ -0,0 +1,61 @@
+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..c86b94b7
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql
@@ -0,0 +1,39 @@
+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
+ block_number,
+ MIN(ts) as ts
+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..01b0554d
--- /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..5a4babfa
--- /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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+ 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"
+
+ ) as collateral_deposited -- noqa: AL05
+ 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"
+
+ ) as collateral_withdrawn -- noqa: AL05
+ 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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+)
+
+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..5a69ddaa
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_market_updated_base_sepolia.sql
@@ -0,0 +1,53 @@
+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..5ec136ba
--- /dev/null
+++ b/compiled/synthetix/models/raw/base/sepolia/perp/perp_order_committed_base_sepolia.sql
@@ -0,0 +1,61 @@
+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..f4a1a2e0
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/blocks_eth_mainnet.sql
@@ -0,0 +1,39 @@
+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
+ block_number,
+ MIN(ts) as ts
+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..d4c1864e
--- /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"
+
+ ) as collateral_deposited -- noqa: AL05
+ 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"
+
+ ) as collateral_withdrawn -- noqa: AL05
+ 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"
+
+ ) as usd_deposited -- noqa: AL05
+ 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"
+
+ ) as usd_withdrawn -- noqa: AL05
+)
+
+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..bc251c85
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_collateral_eth_mainnet.sql
@@ -0,0 +1,40 @@
+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
+ to_timestamp(
+ blocks.timestamp
+ ) as 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
+inner 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..c96e60ea
--- /dev/null
+++ b/compiled/synthetix/models/raw/eth/mainnet/core/core_vault_debt_eth_mainnet.sql
@@ -0,0 +1,34 @@
+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
+ to_timestamp(
+ blocks.timestamp
+ ) as 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
+inner 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/models/raw/snax/testnet/blocks_snax_testnet.sql b/compiled/synthetix/models/raw/snax/testnet/blocks_snax_testnet.sql
new file mode 100644
index 00000000..38837b83
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/blocks_snax_testnet.sql
@@ -0,0 +1,7 @@
+SELECT
+ DISTINCT "timestamp" AS ts,
+ CAST(
+ "number" AS INTEGER
+ ) AS block_number
+FROM
+ "analytics"."raw_snax_testnet"."block"
\ No newline at end of file
diff --git a/compiled/synthetix/models/raw/snax/testnet/gov_vote_recorded_snax_testnet.sql b/compiled/synthetix/models/raw/snax/testnet/gov_vote_recorded_snax_testnet.sql
new file mode 100644
index 00000000..4b1fb6a5
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/gov_vote_recorded_snax_testnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_testnet"."governance_proxy_event_vote_recorded"
diff --git a/compiled/synthetix/models/raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql b/compiled/synthetix/models/raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql
new file mode 100644
index 00000000..8a01c42e
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql
@@ -0,0 +1,5 @@
+
+SELECT
+ *
+FROM
+ "analytics"."raw_snax_testnet"."governance_proxy_event_vote_withdrawn"
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433.sql
new file mode 100644
index 00000000..0729621c
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteRecorded'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44.sql
new file mode 100644
index 00000000..9a7237e5
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ event_name as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+ group by event_name
+
+)
+
+select *
+from all_values
+where value_field not in (
+ 'VoteWithdrawn'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.sql
new file mode 100644
index 00000000..2ca97495
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.sql
@@ -0,0 +1,22 @@
+
+
+
+
+with all_values as (
+
+ select
+ chain_id as value_field,
+ count(*) as n_records
+
+ from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+ group by chain_id
+
+)
+
+select *
+from all_values
+where value_field not in (
+ '13001'
+)
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_blocks_snax_testnet_block_number.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_blocks_snax_testnet_block_number.sql
new file mode 100644
index 00000000..f32fcee5
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_blocks_snax_testnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_testnet"."blocks_snax_testnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_number.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_number.sql
new file mode 100644
index 00000000..dab6afe1
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_timestamp.sql
new file mode 100644
index 00000000..1868d0d7
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_candidates.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_candidates.sql
new file mode 100644
index 00000000..1380ae14
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_candidates.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select candidates
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where candidates is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_chain_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_chain_id.sql
new file mode 100644
index 00000000..ffc2d4aa
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_contract.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_contract.sql
new file mode 100644
index 00000000..c6345516
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_epoch_id.sql
new file mode 100644
index 00000000..7f48d370
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_event_name.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_event_name.sql
new file mode 100644
index 00000000..2d10891c
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_id.sql
new file mode 100644
index 00000000..d291d213
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_transaction_hash.sql
new file mode 100644
index 00000000..e710f038
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voter.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voter.sql
new file mode 100644
index 00000000..e19a666e
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voting_power.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voting_power.sql
new file mode 100644
index 00000000..67ed91eb
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voting_power.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voting_power
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where voting_power is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_number.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_number.sql
new file mode 100644
index 00000000..e0db1d59
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_number.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_number
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where block_number is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.sql
new file mode 100644
index 00000000..9a57168a
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select block_timestamp
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where block_timestamp is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_chain_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_chain_id.sql
new file mode 100644
index 00000000..efc6c534
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_chain_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select chain_id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where chain_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_contract.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_contract.sql
new file mode 100644
index 00000000..29bf5e61
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_contract.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select contract
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where contract is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_epoch_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_epoch_id.sql
new file mode 100644
index 00000000..c0ebe894
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_epoch_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select epoch_id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where epoch_id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_event_name.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_event_name.sql
new file mode 100644
index 00000000..154e5898
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_event_name.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select event_name
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where event_name is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_id.sql
new file mode 100644
index 00000000..d8ac6344
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_id.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select id
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where id is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.sql
new file mode 100644
index 00000000..d4607d46
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select transaction_hash
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where transaction_hash is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_voter.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_voter.sql
new file mode 100644
index 00000000..ae02e5b4
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_voter.sql
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+select voter
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where voter is null
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_blocks_snax_testnet_block_number.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_blocks_snax_testnet_block_number.sql
new file mode 100644
index 00000000..0f77ad7f
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_blocks_snax_testnet_block_number.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ block_number as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_testnet"."blocks_snax_testnet"
+where block_number is not null
+group by block_number
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_id.sql
new file mode 100644
index 00000000..c0f8c905
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_transaction_hash.sql
new file mode 100644
index 00000000..31b04282
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_testnet"."gov_vote_recorded_snax_testnet"
+where transaction_hash is not null
+group by transaction_hash
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_id.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_id.sql
new file mode 100644
index 00000000..2581a8f4
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_id.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ id as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where id is not null
+group by id
+having count(*) > 1
+
+
diff --git a/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_transaction_hash.sql b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_transaction_hash.sql
new file mode 100644
index 00000000..a11f982c
--- /dev/null
+++ b/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_transaction_hash.sql
@@ -0,0 +1,14 @@
+
+
+
+
+select
+ transaction_hash as unique_field,
+ count(*) as n_records
+
+from "analytics"."prod_raw_snax_testnet"."gov_vote_withdrawn_snax_testnet"
+where transaction_hash is not null
+group by transaction_hash
+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..64872041
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..26d46882
--- /dev/null
+++ b/graph_summary.json
@@ -0,0 +1 @@
+{"_invocation_id": "56ee0000-2bfb-4ec9-a484-4ddf996bd061", "linked": {"0": {"name": "source.synthetix.raw_eth_mainnet.block", "type": "source", "succ": [1082]}, "1": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1083]}, "2": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1094]}, "3": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1087]}, "4": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1092]}, "5": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1095]}, "6": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1089]}, "7": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1088]}, "8": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1093]}, "9": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1091]}, "10": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1097]}, "11": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1098]}, "12": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1086]}, "13": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1090]}, "14": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1090]}, "15": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1090]}, "16": {"name": "source.synthetix.raw_eth_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1090]}, "17": {"name": "source.synthetix.raw_eth_mainnet.legacy_market_proxy_event_account_migrated", "type": "source", "succ": [1096]}, "18": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_collateral", "type": "source", "succ": [1085]}, "19": {"name": "source.synthetix.raw_eth_mainnet.core_get_vault_debt", "type": "source", "succ": [1084]}, "20": {"name": "source.synthetix.raw_eth_mainnet.blocks_parquet", "type": "source", "succ": [1082, 1084, 1085]}, "21": {"name": "source.synthetix.raw_base_sepolia.block", "type": "source", "succ": [1186]}, "22": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_created", "type": "source", "succ": [1192]}, "23": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1194]}, "24": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1190]}, "25": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_created", "type": "source", "succ": [1193]}, "26": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_market_updated", "type": "source", "succ": [1189]}, "27": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1189]}, "28": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_committed", "type": "source", "succ": [1187]}, "29": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1187]}, "30": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_order_settled", "type": "source", "succ": [1188]}, "31": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1196]}, "32": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1197]}, "33": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1191]}, "34": {"name": "source.synthetix.raw_base_sepolia.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1195]}, "35": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1214]}, "36": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1221]}, "37": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1219]}, "38": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1216]}, "39": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1220]}, "40": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1217]}, "41": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1215]}, "42": {"name": "source.synthetix.raw_base_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1218]}, "43": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1202]}, "44": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1209]}, "45": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1201]}, "46": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1204]}, "47": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1207]}, "48": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1212]}, "49": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1213]}, "50": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_claimed", "type": "source", "succ": [1206]}, "51": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_rewards_distributed", "type": "source", "succ": [1199]}, "52": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1211]}, "53": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1208]}, "54": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1205]}, "55": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1200]}, "56": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1200]}, "57": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1200]}, "58": {"name": "source.synthetix.raw_base_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1200]}, "59": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1200]}, "60": {"name": "source.synthetix.raw_base_sepolia.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1200]}, "61": {"name": "source.synthetix.raw_base_sepolia.buyback_snx_event_buyback_processed", "type": "source", "succ": [1198]}, "62": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_collateral", "type": "source", "succ": [1203]}, "63": {"name": "source.synthetix.raw_base_sepolia.core_get_vault_debt", "type": "source", "succ": [1210]}, "64": {"name": "source.synthetix.raw_base_sepolia.blocks_parquet", "type": "source", "succ": [1186, 1203, 1210]}, "65": {"name": "source.synthetix.raw_arbitrum_sepolia.block", "type": "source", "succ": [1123]}, "66": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_committed", "type": "source", "succ": [1143]}, "67": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_settled", "type": "source", "succ": [1139]}, "68": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1145]}, "69": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1146]}, "70": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1142]}, "71": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1141]}, "72": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1140]}, "73": {"name": "source.synthetix.raw_arbitrum_sepolia.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1144]}, "74": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_account_created", "type": "source", "succ": [1131]}, "75": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_delegation_updated", "type": "source", "succ": [1127]}, "76": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_deposited", "type": "source", "succ": [1128]}, "77": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_withdrawn", "type": "source", "succ": [1135]}, "78": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_liquidation", "type": "source", "succ": [1129]}, "79": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_registered", "type": "source", "succ": [1132]}, "80": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_pool_created", "type": "source", "succ": [1130]}, "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": [1125]}, "83": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_burned", "type": "source", "succ": [1138]}, "84": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_usd_minted", "type": "source", "succ": [1137]}, "85": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_vault_liquidation", "type": "source", "succ": [1124]}, "86": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1133]}, "87": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1133]}, "88": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1133]}, "89": {"name": "source.synthetix.raw_arbitrum_sepolia.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1133]}, "90": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_collateral", "type": "source", "succ": [1126]}, "91": {"name": "source.synthetix.raw_arbitrum_sepolia.core_get_vault_debt", "type": "source", "succ": [1134]}, "92": {"name": "source.synthetix.raw_arbitrum_sepolia.blocks_parquet", "type": "source", "succ": [1123, 1126, 1134]}, "93": {"name": "source.synthetix.raw_arbitrum_mainnet.block", "type": "source", "succ": [1099]}, "94": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1117]}, "95": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1120]}, "96": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1119]}, "97": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1118]}, "98": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1116]}, "99": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1115]}, "100": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1122]}, "101": {"name": "source.synthetix.raw_arbitrum_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1121]}, "102": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1103]}, "103": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1104]}, "104": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1108]}, "105": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1111]}, "106": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1107]}, "107": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1101]}, "108": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1106]}, "109": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1100, 1136]}, "110": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1105]}, "111": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1110]}, "112": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1113]}, "113": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1114]}, "114": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1112]}, "115": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1112]}, "116": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1112]}, "117": {"name": "source.synthetix.raw_arbitrum_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1112]}, "118": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_collateral", "type": "source", "succ": [1102]}, "119": {"name": "source.synthetix.raw_arbitrum_mainnet.core_get_vault_debt", "type": "source", "succ": [1109]}, "120": {"name": "source.synthetix.raw_arbitrum_mainnet.blocks_parquet", "type": "source", "succ": [1099, 1102, 1109]}, "121": {"name": "source.synthetix.raw_base_mainnet.block", "type": "source", "succ": [1150]}, "122": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_created", "type": "source", "succ": [1152]}, "123": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_account_liquidation_attempt", "type": "source", "succ": [1161]}, "124": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_collateral_modified", "type": "source", "succ": [1155]}, "125": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_created", "type": "source", "succ": [1151]}, "126": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_market_updated", "type": "source", "succ": [1160]}, "127": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_market_updated", "type": "source", "succ": [1160]}, "128": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_committed", "type": "source", "succ": [1154]}, "129": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_legacy_event_order_committed", "type": "source", "succ": [1154]}, "130": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_order_settled", "type": "source", "succ": [1159]}, "131": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_position_liquidated", "type": "source", "succ": [1158]}, "132": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_previous_order_expired", "type": "source", "succ": [1157]}, "133": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_rate_updated", "type": "source", "succ": [1153]}, "134": {"name": "source.synthetix.raw_base_mainnet.perps_market_proxy_event_interest_charged", "type": "source", "succ": [1156]}, "135": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_committed", "type": "source", "succ": [1181]}, "136": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_settled", "type": "source", "succ": [1183]}, "137": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_order_cancelled", "type": "source", "succ": [1184]}, "138": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_registered", "type": "source", "succ": [1180]}, "139": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_bought", "type": "source", "succ": [1182]}, "140": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_sold", "type": "source", "succ": [1185]}, "141": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_wrapped", "type": "source", "succ": [1178]}, "142": {"name": "source.synthetix.raw_base_mainnet.spot_market_proxy_event_synth_unwrapped", "type": "source", "succ": [1179]}, "143": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_account_created", "type": "source", "succ": [1171]}, "144": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_delegation_updated", "type": "source", "succ": [1177]}, "145": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_deposited", "type": "source", "succ": [1163]}, "146": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_withdrawn", "type": "source", "succ": [1170]}, "147": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_liquidation", "type": "source", "succ": [1168]}, "148": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_registered", "type": "source", "succ": [1176]}, "149": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_pool_created", "type": "source", "succ": [1165]}, "150": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_claimed", "type": "source", "succ": [1164]}, "151": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_rewards_distributed", "type": "source", "succ": [1173]}, "152": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_burned", "type": "source", "succ": [1167]}, "153": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_usd_minted", "type": "source", "succ": [1174]}, "154": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_vault_liquidation", "type": "source", "succ": [1169]}, "155": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_deposited", "type": "source", "succ": [1172]}, "156": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_collateral_withdrawn", "type": "source", "succ": [1172]}, "157": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_deposited", "type": "source", "succ": [1172]}, "158": {"name": "source.synthetix.raw_base_mainnet.core_proxy_event_market_usd_withdrawn", "type": "source", "succ": [1172]}, "159": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_deposited", "type": "source", "succ": [1172]}, "160": {"name": "source.synthetix.raw_base_mainnet.core_proxy_legacy_event_market_usd_withdrawn", "type": "source", "succ": [1172]}, "161": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_legacy_event_buyback_processed", "type": "source", "succ": [1162]}, "162": {"name": "source.synthetix.raw_base_mainnet.buyback_snx_event_buyback_processed", "type": "source", "succ": [1162]}, "163": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_collateral", "type": "source", "succ": [1166]}, "164": {"name": "source.synthetix.raw_base_mainnet.core_get_vault_debt", "type": "source", "succ": [1175]}, "165": {"name": "source.synthetix.raw_base_mainnet.blocks_parquet", "type": "source", "succ": [1150, 1166, 1175]}, "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": "source.synthetix.raw_snax_testnet.block", "type": "source", "succ": [1148]}, "1080": {"name": "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_recorded", "type": "source", "succ": [1147]}, "1081": {"name": "source.synthetix.raw_snax_testnet.governance_proxy_event_vote_withdrawn", "type": "source", "succ": [1149]}, "1082": {"name": "model.synthetix.blocks_eth_mainnet", "type": "model", "succ": [1384, 1385, 1386]}, "1083": {"name": "model.synthetix.core_account_created_eth_mainnet", "type": "model", "succ": [1387, 1388, 1389, 1390, 1391, 1392, 1393, 1394, 1395, 1396, 1397]}, "1084": {"name": "model.synthetix.core_vault_debt_eth_mainnet", "type": "model", "succ": [1226, 1605, 1606, 1607, 1608, 1609, 1610, 1611]}, "1085": {"name": "model.synthetix.core_vault_collateral_eth_mainnet", "type": "model", "succ": [1225, 1241, 1595, 1596, 1597, 1598, 1599, 1600, 1601, 1602, 1603, 1604]}, "1086": {"name": "model.synthetix.core_vault_liquidation_eth_mainnet", "type": "model", "succ": [1580, 1581, 1582, 1583, 1584, 1585, 1586, 1587, 1588, 1589, 1590, 1591, 1592, 1593, 1594]}, "1087": {"name": "model.synthetix.core_deposited_eth_mainnet", "type": "model", "succ": [1222, 1430, 1431, 1432, 1433, 1434, 1435, 1436, 1437, 1438, 1439, 1440, 1441, 1442, 1443]}, "1088": {"name": "model.synthetix.core_pool_created_eth_mainnet", "type": "model", "succ": [1239, 1504, 1505, 1506, 1507, 1508, 1509, 1510, 1511, 1512, 1513, 1514, 1515]}, "1089": {"name": "model.synthetix.core_market_registered_eth_mainnet", "type": "model", "succ": [1492, 1493, 1494, 1495, 1496, 1497, 1498, 1499, 1500, 1501, 1502, 1503]}, "1090": {"name": "model.synthetix.core_market_updated_eth_mainnet", "type": "model", "succ": [1235, 1474, 1475, 1476, 1477, 1478, 1479, 1480, 1481, 1482, 1483, 1484, 1485, 1486, 1487, 1488, 1489, 1490, 1491]}, "1091": {"name": "model.synthetix.core_rewards_distributed_eth_mainnet", "type": "model", "succ": [1237, 1532, 1533, 1534, 1535, 1536, 1537, 1538, 1539, 1540, 1541, 1542, 1543, 1544, 1545, 1546, 1547]}, "1092": {"name": "model.synthetix.core_withdrawn_eth_mainnet", "type": "model", "succ": [1222, 1444, 1445, 1446, 1447, 1448, 1449, 1450, 1451, 1452, 1453, 1454, 1455, 1456, 1457]}, "1093": {"name": "model.synthetix.core_rewards_claimed_eth_mainnet", "type": "model", "succ": [1516, 1517, 1518, 1519, 1520, 1521, 1522, 1523, 1524, 1525, 1526, 1527, 1528, 1529, 1530, 1531]}, "1094": {"name": "model.synthetix.core_delegation_updated_eth_mainnet", "type": "model", "succ": [1233, 1234, 1412, 1413, 1414, 1415, 1416, 1417, 1418, 1419, 1420, 1421, 1422, 1423, 1424, 1425, 1426, 1427, 1428, 1429]}, "1095": {"name": "model.synthetix.core_liquidation_eth_mainnet", "type": "model", "succ": [1458, 1459, 1460, 1461, 1462, 1463, 1464, 1465, 1466, 1467, 1468, 1469, 1470, 1471, 1472, 1473]}, "1096": {"name": "model.synthetix.core_account_migrated_eth_mainnet", "type": "model", "succ": [1231, 1398, 1399, 1400, 1401, 1402, 1403, 1404, 1405, 1406, 1407, 1408, 1409, 1410, 1411]}, "1097": {"name": "model.synthetix.core_usd_burned_eth_mainnet", "type": "model", "succ": [1232, 1548, 1549, 1550, 1551, 1552, 1553, 1554, 1555, 1556, 1557, 1558, 1559, 1560, 1561, 1562, 1563]}, "1098": {"name": "model.synthetix.core_usd_minted_eth_mainnet", "type": "model", "succ": [1232, 1564, 1565, 1566, 1567, 1568, 1569, 1570, 1571, 1572, 1573, 1574, 1575, 1576, 1577, 1578, 1579]}, "1099": {"name": "model.synthetix.blocks_arbitrum_mainnet", "type": "model", "succ": [1612, 1613, 1614]}, "1100": {"name": "model.synthetix.core_rewards_claimed_arbitrum_mainnet", "type": "model", "succ": [1730, 1731, 1732, 1733, 1734, 1735, 1736, 1737, 1738, 1739, 1740, 1741, 1742, 1743, 1744, 1745]}, "1101": {"name": "model.synthetix.core_market_registered_arbitrum_mainnet", "type": "model", "succ": [1706, 1707, 1708, 1709, 1710, 1711, 1712, 1713, 1714, 1715, 1716, 1717]}, "1102": {"name": "model.synthetix.core_vault_collateral_arbitrum_mainnet", "type": "model", "succ": [1246, 1264, 1809, 1810, 1811, 1812, 1813, 1814, 1815, 1816, 1817, 1818]}, "1103": {"name": "model.synthetix.core_account_created_arbitrum_mainnet", "type": "model", "succ": [1615, 1616, 1617, 1618, 1619, 1620, 1621, 1622, 1623, 1624, 1625]}, "1104": {"name": "model.synthetix.core_delegation_updated_arbitrum_mainnet", "type": "model", "succ": [1244, 1254, 1626, 1627, 1628, 1629, 1630, 1631, 1632, 1633, 1634, 1635, 1636, 1637, 1638, 1639, 1640, 1641, 1642, 1643]}, "1105": {"name": "model.synthetix.core_rewards_distributed_arbitrum_mainnet", "type": "model", "succ": [1248, 1746, 1747, 1748, 1749, 1750, 1751, 1752, 1753, 1754, 1755, 1756, 1757, 1758, 1759, 1760, 1761]}, "1106": {"name": "model.synthetix.core_pool_created_arbitrum_mainnet", "type": "model", "succ": [1252, 1718, 1719, 1720, 1721, 1722, 1723, 1724, 1725, 1726, 1727, 1728, 1729]}, "1107": {"name": "model.synthetix.core_liquidation_arbitrum_mainnet", "type": "model", "succ": [1672, 1673, 1674, 1675, 1676, 1677, 1678, 1679, 1680, 1681, 1682, 1683, 1684, 1685, 1686, 1687]}, "1108": {"name": "model.synthetix.core_deposited_arbitrum_mainnet", "type": "model", "succ": [1259, 1644, 1645, 1646, 1647, 1648, 1649, 1650, 1651, 1652, 1653, 1654, 1655, 1656, 1657]}, "1109": {"name": "model.synthetix.core_vault_debt_arbitrum_mainnet", "type": "model", "succ": [1243, 1819, 1820, 1821, 1822, 1823, 1824, 1825]}, "1110": {"name": "model.synthetix.core_usd_burned_arbitrum_mainnet", "type": "model", "succ": [1251, 1261, 1762, 1763, 1764, 1765, 1766, 1767, 1768, 1769, 1770, 1771, 1772, 1773, 1774, 1775, 1776, 1777]}, "1111": {"name": "model.synthetix.core_withdrawn_arbitrum_mainnet", "type": "model", "succ": [1259, 1658, 1659, 1660, 1661, 1662, 1663, 1664, 1665, 1666, 1667, 1668, 1669, 1670, 1671]}, "1112": {"name": "model.synthetix.core_market_updated_arbitrum_mainnet", "type": "model", "succ": [1253, 1688, 1689, 1690, 1691, 1692, 1693, 1694, 1695, 1696, 1697, 1698, 1699, 1700, 1701, 1702, 1703, 1704, 1705]}, "1113": {"name": "model.synthetix.core_usd_minted_arbitrum_mainnet", "type": "model", "succ": [1251, 1261, 1778, 1779, 1780, 1781, 1782, 1783, 1784, 1785, 1786, 1787, 1788, 1789, 1790, 1791, 1792, 1793]}, "1114": {"name": "model.synthetix.core_vault_liquidation_arbitrum_mainnet", "type": "model", "succ": [1794, 1795, 1796, 1797, 1798, 1799, 1800, 1801, 1802, 1803, 1804, 1805, 1806, 1807, 1808]}, "1115": {"name": "model.synthetix.spot_synth_sold_arbitrum_mainnet", "type": "model", "succ": [1260, 1895, 1896, 1897, 1898, 1899, 1900, 1901, 1902, 1903, 1904, 1905, 1906, 1907, 1908, 1909, 1910, 1911]}, "1116": {"name": "model.synthetix.spot_synth_bought_arbitrum_mainnet", "type": "model", "succ": [1260, 1880, 1881, 1882, 1883, 1884, 1885, 1886, 1887, 1888, 1889, 1890, 1891, 1892, 1893, 1894]}, "1117": {"name": "model.synthetix.spot_order_committed_arbitrum_mainnet", "type": "model", "succ": [1826, 1827, 1828, 1829, 1830, 1831, 1832, 1833, 1834, 1835, 1836, 1837, 1838, 1839, 1840]}, "1118": {"name": "model.synthetix.spot_synth_registered_arbitrum_mainnet", "type": "model", "succ": [1263, 1869, 1870, 1871, 1872, 1873, 1874, 1875, 1876, 1877, 1878, 1879]}, "1119": {"name": "model.synthetix.spot_order_cancelled_arbitrum_mainnet", "type": "model", "succ": [1858, 1859, 1860, 1861, 1862, 1863, 1864, 1865, 1866, 1867, 1868]}, "1120": {"name": "model.synthetix.spot_order_settled_arbitrum_mainnet", "type": "model", "succ": [1841, 1842, 1843, 1844, 1845, 1846, 1847, 1848, 1849, 1850, 1851, 1852, 1853, 1854, 1855, 1856, 1857]}, "1121": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_mainnet", "type": "model", "succ": [1262, 1924, 1925, 1926, 1927, 1928, 1929, 1930, 1931, 1932, 1933, 1934, 1935, 1936, 1937]}, "1122": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_mainnet", "type": "model", "succ": [1262, 1912, 1913, 1914, 1915, 1916, 1917, 1918, 1919, 1920, 1921, 1922, 1923]}, "1123": {"name": "model.synthetix.blocks_arbitrum_sepolia", "type": "model", "succ": [1938, 1939, 1940]}, "1124": {"name": "model.synthetix.core_vault_liquidation_arbitrum_sepolia", "type": "model", "succ": [2120, 2121, 2122, 2123, 2124, 2125, 2126, 2127, 2128, 2129, 2130, 2131, 2132, 2133, 2134]}, "1125": {"name": "model.synthetix.core_rewards_distributed_arbitrum_sepolia", "type": "model", "succ": [1267, 2072, 2073, 2074, 2075, 2076, 2077, 2078, 2079, 2080, 2081, 2082, 2083, 2084, 2085, 2086, 2087]}, "1126": {"name": "model.synthetix.core_vault_collateral_arbitrum_sepolia", "type": "model", "succ": [1270, 1287, 2135, 2136, 2137, 2138, 2139, 2140, 2141, 2142, 2143, 2144]}, "1127": {"name": "model.synthetix.core_delegation_updated_arbitrum_sepolia", "type": "model", "succ": [1272, 1280, 1952, 1953, 1954, 1955, 1956, 1957, 1958, 1959, 1960, 1961, 1962, 1963, 1964, 1965, 1966, 1967, 1968, 1969]}, "1128": {"name": "model.synthetix.core_deposited_arbitrum_sepolia", "type": "model", "succ": [1276, 1970, 1971, 1972, 1973, 1974, 1975, 1976, 1977, 1978, 1979, 1980, 1981, 1982, 1983]}, "1129": {"name": "model.synthetix.core_liquidation_arbitrum_sepolia", "type": "model", "succ": [1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013]}, "1130": {"name": "model.synthetix.core_pool_created_arbitrum_sepolia", "type": "model", "succ": [1271, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053, 2054, 2055]}, "1131": {"name": "model.synthetix.core_account_created_arbitrum_sepolia", "type": "model", "succ": [1941, 1942, 1943, 1944, 1945, 1946, 1947, 1948, 1949, 1950, 1951]}, "1132": {"name": "model.synthetix.core_market_registered_arbitrum_sepolia", "type": "model", "succ": [2032, 2033, 2034, 2035, 2036, 2037, 2038, 2039, 2040, 2041, 2042, 2043]}, "1133": {"name": "model.synthetix.core_market_updated_arbitrum_sepolia", "type": "model", "succ": [1282, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024, 2025, 2026, 2027, 2028, 2029, 2030, 2031]}, "1134": {"name": "model.synthetix.core_vault_debt_arbitrum_sepolia", "type": "model", "succ": [1273, 2145, 2146, 2147, 2148, 2149, 2150, 2151]}, "1135": {"name": "model.synthetix.core_withdrawn_arbitrum_sepolia", "type": "model", "succ": [1276, 1984, 1985, 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997]}, "1136": {"name": "model.synthetix.core_rewards_claimed_arbitrum_sepolia", "type": "model", "succ": [2056, 2057, 2058, 2059, 2060, 2061, 2062, 2063, 2064, 2065, 2066, 2067, 2068, 2069, 2070, 2071]}, "1137": {"name": "model.synthetix.core_usd_minted_arbitrum_sepolia", "type": "model", "succ": [1266, 1283, 2104, 2105, 2106, 2107, 2108, 2109, 2110, 2111, 2112, 2113, 2114, 2115, 2116, 2117, 2118, 2119]}, "1138": {"name": "model.synthetix.core_usd_burned_arbitrum_sepolia", "type": "model", "succ": [1266, 1283, 2088, 2089, 2090, 2091, 2092, 2093, 2094, 2095, 2096, 2097, 2098, 2099, 2100, 2101, 2102, 2103]}, "1139": {"name": "model.synthetix.spot_order_settled_arbitrum_sepolia", "type": "model", "succ": [2167, 2168, 2169, 2170, 2171, 2172, 2173, 2174, 2175, 2176, 2177, 2178, 2179, 2180, 2181, 2182, 2183]}, "1140": {"name": "model.synthetix.spot_synth_wrapped_arbitrum_sepolia", "type": "model", "succ": [1284, 2238, 2239, 2240, 2241, 2242, 2243, 2244, 2245, 2246, 2247, 2248, 2249]}, "1141": {"name": "model.synthetix.spot_synth_sold_arbitrum_sepolia", "type": "model", "succ": [1285, 2221, 2222, 2223, 2224, 2225, 2226, 2227, 2228, 2229, 2230, 2231, 2232, 2233, 2234, 2235, 2236, 2237]}, "1142": {"name": "model.synthetix.spot_synth_bought_arbitrum_sepolia", "type": "model", "succ": [1285, 2206, 2207, 2208, 2209, 2210, 2211, 2212, 2213, 2214, 2215, 2216, 2217, 2218, 2219, 2220]}, "1143": {"name": "model.synthetix.spot_order_committed_arbitrum_sepolia", "type": "model", "succ": [2152, 2153, 2154, 2155, 2156, 2157, 2158, 2159, 2160, 2161, 2162, 2163, 2164, 2165, 2166]}, "1144": {"name": "model.synthetix.spot_synth_unwrapped_arbitrum_sepolia", "type": "model", "succ": [1284, 2250, 2251, 2252, 2253, 2254, 2255, 2256, 2257, 2258, 2259, 2260, 2261, 2262, 2263]}, "1145": {"name": "model.synthetix.spot_order_cancelled_arbitrum_sepolia", "type": "model", "succ": [2184, 2185, 2186, 2187, 2188, 2189, 2190, 2191, 2192, 2193, 2194]}, "1146": {"name": "model.synthetix.spot_synth_registered_arbitrum_sepolia", "type": "model", "succ": [1286, 2195, 2196, 2197, 2198, 2199, 2200, 2201, 2202, 2203, 2204, 2205]}, "1147": {"name": "model.synthetix.gov_vote_recorded_snax_testnet", "type": "model", "succ": [2266, 2267, 2268, 2269, 2270, 2271, 2272, 2273, 2274, 2275, 2276, 2277, 2278, 2279]}, "1148": {"name": "model.synthetix.blocks_snax_testnet", "type": "model", "succ": [2264, 2265]}, "1149": {"name": "model.synthetix.gov_vote_withdrawn_snax_testnet", "type": "model", "succ": [2280, 2281, 2282, 2283, 2284, 2285, 2286, 2287, 2288, 2289, 2290, 2291, 2292]}, "1150": {"name": "model.synthetix.blocks_base_mainnet", "type": "model", "succ": [2293, 2294, 2295]}, "1151": {"name": "model.synthetix.perp_market_created_base_mainnet", "type": "model", "succ": [1290, 2401, 2402, 2403, 2404, 2405, 2406, 2407, 2408, 2409, 2410, 2411, 2412]}, "1152": {"name": "model.synthetix.perp_account_created_base_mainnet", "type": "model", "succ": [1299, 2296, 2297, 2298, 2299, 2300, 2301, 2302, 2303, 2304, 2305, 2306]}, "1153": {"name": "model.synthetix.perp_interest_rate_updated_base_mainnet", "type": "model", "succ": [2423, 2424, 2425, 2426, 2427, 2428, 2429, 2430, 2431, 2432, 2433, 2434]}, "1154": {"name": "model.synthetix.perp_order_committed_base_mainnet", "type": "model", "succ": [1293, 2307, 2308, 2309, 2310, 2311, 2312, 2313, 2314, 2315, 2316, 2317, 2318]}, "1155": {"name": "model.synthetix.perp_collateral_modified_base_mainnet", "type": "model", "succ": [1294, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2384, 2385, 2386, 2387, 2388]}, "1156": {"name": "model.synthetix.perp_interest_charged_base_mainnet", "type": "model", "succ": [1295, 2413, 2414, 2415, 2416, 2417, 2418, 2419, 2420, 2421, 2422]}, "1157": {"name": "model.synthetix.perp_previous_order_expired_base_mainnet", "type": "model", "succ": [1291, 2389, 2390, 2391, 2392, 2393, 2394, 2395, 2396, 2397, 2398, 2399, 2400]}, "1158": {"name": "model.synthetix.perp_position_liquidated_base_mainnet", "type": "model", "succ": [1297, 2347, 2348, 2349, 2350, 2351, 2352, 2353, 2354, 2355, 2356, 2357, 2358, 2359, 2360, 2361, 2362]}, "1159": {"name": "model.synthetix.perp_order_settled_base_mainnet", "type": "model", "succ": [1289, 2319, 2320, 2321, 2322, 2323, 2324, 2325, 2326, 2327, 2328, 2329, 2330, 2331, 2332]}, "1160": {"name": "model.synthetix.perp_market_updated_base_mainnet", "type": "model", "succ": [1292, 2333, 2334, 2335, 2336, 2337, 2338, 2339, 2340, 2341, 2342, 2343, 2344, 2345, 2346]}, "1161": {"name": "model.synthetix.perp_account_liquidation_attempt_base_mainnet", "type": "model", "succ": [1298, 2363, 2364, 2365, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375]}, "1162": {"name": "model.synthetix.buyback_processed_base_mainnet", "type": "model", "succ": [1301, 2435, 2436, 2437, 2438, 2439, 2440, 2441, 2442, 2443, 2444, 2445, 2446, 2447]}, "1163": {"name": "model.synthetix.core_deposited_base_mainnet", "type": "model", "succ": [1319, 2477, 2478, 2479, 2480, 2481, 2482, 2483, 2484, 2485, 2486, 2487, 2488, 2489, 2490]}, "1164": {"name": "model.synthetix.core_rewards_claimed_base_mainnet", "type": "model", "succ": [2563, 2564, 2565, 2566, 2567, 2568, 2569, 2570, 2571, 2572, 2573, 2574, 2575, 2576, 2577, 2578]}, "1165": {"name": "model.synthetix.core_pool_created_base_mainnet", "type": "model", "succ": [1303, 2551, 2552, 2553, 2554, 2555, 2556, 2557, 2558, 2559, 2560, 2561, 2562]}, "1166": {"name": "model.synthetix.core_vault_collateral_base_mainnet", "type": "model", "succ": [1306, 1309, 1335, 2642, 2643, 2644, 2645, 2646, 2647, 2648, 2649, 2650, 2651]}, "1167": {"name": "model.synthetix.core_usd_burned_base_mainnet", "type": "model", "succ": [1312, 1332, 2595, 2596, 2597, 2598, 2599, 2600, 2601, 2602, 2603, 2604, 2605, 2606, 2607, 2608, 2609, 2610]}, "1168": {"name": "model.synthetix.core_liquidation_base_mainnet", "type": "model", "succ": [2505, 2506, 2507, 2508, 2509, 2510, 2511, 2512, 2513, 2514, 2515, 2516, 2517, 2518, 2519, 2520]}, "1169": {"name": "model.synthetix.core_vault_liquidation_base_mainnet", "type": "model", "succ": [2627, 2628, 2629, 2630, 2631, 2632, 2633, 2634, 2635, 2636, 2637, 2638, 2639, 2640, 2641]}, "1170": {"name": "model.synthetix.core_withdrawn_base_mainnet", "type": "model", "succ": [1319, 2491, 2492, 2493, 2494, 2495, 2496, 2497, 2498, 2499, 2500, 2501, 2502, 2503, 2504]}, "1171": {"name": "model.synthetix.core_account_created_base_mainnet", "type": "model", "succ": [2448, 2449, 2450, 2451, 2452, 2453, 2454, 2455, 2456, 2457, 2458]}, "1172": {"name": "model.synthetix.core_market_updated_base_mainnet", "type": "model", "succ": [1307, 2521, 2522, 2523, 2524, 2525, 2526, 2527, 2528, 2529, 2530, 2531, 2532, 2533, 2534, 2535, 2536, 2537, 2538]}, "1173": {"name": "model.synthetix.core_rewards_distributed_base_mainnet", "type": "model", "succ": [1310, 2579, 2580, 2581, 2582, 2583, 2584, 2585, 2586, 2587, 2588, 2589, 2590, 2591, 2592, 2593, 2594]}, "1174": {"name": "model.synthetix.core_usd_minted_base_mainnet", "type": "model", "succ": [1312, 1332, 2611, 2612, 2613, 2614, 2615, 2616, 2617, 2618, 2619, 2620, 2621, 2622, 2623, 2624, 2625, 2626]}, "1175": {"name": "model.synthetix.core_vault_debt_base_mainnet", "type": "model", "succ": [1296, 1315, 2652, 2653, 2654, 2655, 2656, 2657, 2658]}, "1176": {"name": "model.synthetix.core_market_registered_base_mainnet", "type": "model", "succ": [2539, 2540, 2541, 2542, 2543, 2544, 2545, 2546, 2547, 2548, 2549, 2550]}, "1177": {"name": "model.synthetix.core_delegation_updated_base_mainnet", "type": "model", "succ": [1316, 1318, 2459, 2460, 2461, 2462, 2463, 2464, 2465, 2466, 2467, 2468, 2469, 2470, 2471, 2472, 2473, 2474, 2475, 2476]}, "1178": {"name": "model.synthetix.spot_synth_wrapped_base_mainnet", "type": "model", "succ": [1333, 2745, 2746, 2747, 2748, 2749, 2750, 2751, 2752, 2753, 2754, 2755, 2756]}, "1179": {"name": "model.synthetix.spot_synth_unwrapped_base_mainnet", "type": "model", "succ": [1333, 2757, 2758, 2759, 2760, 2761, 2762, 2763, 2764, 2765, 2766, 2767, 2768, 2769, 2770]}, "1180": {"name": "model.synthetix.spot_synth_registered_base_mainnet", "type": "model", "succ": [1331, 2702, 2703, 2704, 2705, 2706, 2707, 2708, 2709, 2710, 2711, 2712]}, "1181": {"name": "model.synthetix.spot_order_committed_base_mainnet", "type": "model", "succ": [2659, 2660, 2661, 2662, 2663, 2664, 2665, 2666, 2667, 2668, 2669, 2670, 2671, 2672, 2673]}, "1182": {"name": "model.synthetix.spot_synth_bought_base_mainnet", "type": "model", "succ": [1334, 2713, 2714, 2715, 2716, 2717, 2718, 2719, 2720, 2721, 2722, 2723, 2724, 2725, 2726, 2727]}, "1183": {"name": "model.synthetix.spot_order_settled_base_mainnet", "type": "model", "succ": [2674, 2675, 2676, 2677, 2678, 2679, 2680, 2681, 2682, 2683, 2684, 2685, 2686, 2687, 2688, 2689, 2690]}, "1184": {"name": "model.synthetix.spot_order_cancelled_base_mainnet", "type": "model", "succ": [2691, 2692, 2693, 2694, 2695, 2696, 2697, 2698, 2699, 2700, 2701]}, "1185": {"name": "model.synthetix.spot_synth_sold_base_mainnet", "type": "model", "succ": [1334, 2728, 2729, 2730, 2731, 2732, 2733, 2734, 2735, 2736, 2737, 2738, 2739, 2740, 2741, 2742, 2743, 2744]}, "1186": {"name": "model.synthetix.blocks_base_sepolia", "type": "model", "succ": [2771, 2772, 2773]}, "1187": {"name": "model.synthetix.perp_order_committed_base_sepolia", "type": "model", "succ": [1347, 2785, 2786, 2787, 2788, 2789, 2790, 2791, 2792, 2793, 2794, 2795, 2796]}, "1188": {"name": "model.synthetix.perp_order_settled_base_sepolia", "type": "model", "succ": [1344, 2797, 2798, 2799, 2800, 2801, 2802, 2803, 2804, 2805, 2806, 2807, 2808, 2809, 2810]}, "1189": {"name": "model.synthetix.perp_market_updated_base_sepolia", "type": "model", "succ": [1337, 2811, 2812, 2813, 2814, 2815, 2816, 2817, 2818, 2819, 2820, 2821, 2822, 2823, 2824]}, "1190": {"name": "model.synthetix.perp_collateral_modified_base_sepolia", "type": "model", "succ": [1343, 2854, 2855, 2856, 2857, 2858, 2859, 2860, 2861, 2862, 2863, 2864, 2865, 2866]}, "1191": {"name": "model.synthetix.perp_interest_rate_updated_base_sepolia", "type": "model", "succ": [2901, 2902, 2903, 2904, 2905, 2906, 2907, 2908, 2909, 2910, 2911, 2912]}, "1192": {"name": "model.synthetix.perp_account_created_base_sepolia", "type": "model", "succ": [1339, 2774, 2775, 2776, 2777, 2778, 2779, 2780, 2781, 2782, 2783, 2784]}, "1193": {"name": "model.synthetix.perp_market_created_base_sepolia", "type": "model", "succ": [1338, 2879, 2880, 2881, 2882, 2883, 2884, 2885, 2886, 2887, 2888, 2889, 2890]}, "1194": {"name": "model.synthetix.perp_account_liquidation_attempt_base_sepolia", "type": "model", "succ": [1342, 2841, 2842, 2843, 2844, 2845, 2846, 2847, 2848, 2849, 2850, 2851, 2852, 2853]}, "1195": {"name": "model.synthetix.perp_interest_charged_base_sepolia", "type": "model", "succ": [1341, 2891, 2892, 2893, 2894, 2895, 2896, 2897, 2898, 2899, 2900]}, "1196": {"name": "model.synthetix.perp_position_liquidated_base_sepolia", "type": "model", "succ": [1346, 2825, 2826, 2827, 2828, 2829, 2830, 2831, 2832, 2833, 2834, 2835, 2836, 2837, 2838, 2839, 2840]}, "1197": {"name": "model.synthetix.perp_previous_order_expired_base_sepolia", "type": "model", "succ": [1340, 2867, 2868, 2869, 2870, 2871, 2872, 2873, 2874, 2875, 2876, 2877, 2878]}, "1198": {"name": "model.synthetix.buyback_processed_base_sepolia", "type": "model", "succ": [1349, 2913, 2914, 2915, 2916, 2917, 2918, 2919, 2920, 2921, 2922, 2923, 2924, 2925]}, "1199": {"name": "model.synthetix.core_rewards_distributed_base_sepolia", "type": "model", "succ": [1351, 3057, 3058, 3059, 3060, 3061, 3062, 3063, 3064, 3065, 3066, 3067, 3068, 3069, 3070, 3071, 3072]}, "1200": {"name": "model.synthetix.core_market_updated_base_sepolia", "type": "model", "succ": [1364, 2999, 3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007, 3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015, 3016]}, "1201": {"name": "model.synthetix.core_deposited_base_sepolia", "type": "model", "succ": [1367, 2955, 2956, 2957, 2958, 2959, 2960, 2961, 2962, 2963, 2964, 2965, 2966, 2967, 2968]}, "1202": {"name": "model.synthetix.core_account_created_base_sepolia", "type": "model", "succ": [2926, 2927, 2928, 2929, 2930, 2931, 2932, 2933, 2934, 2935, 2936]}, "1203": {"name": "model.synthetix.core_vault_collateral_base_sepolia", "type": "model", "succ": [1354, 1382, 3120, 3121, 3122, 3123, 3124, 3125, 3126, 3127, 3128, 3129]}, "1204": {"name": "model.synthetix.core_withdrawn_base_sepolia", "type": "model", "succ": [1367, 2969, 2970, 2971, 2972, 2973, 2974, 2975, 2976, 2977, 2978, 2979, 2980, 2981, 2982]}, "1205": {"name": "model.synthetix.core_vault_liquidation_base_sepolia", "type": "model", "succ": [3105, 3106, 3107, 3108, 3109, 3110, 3111, 3112, 3113, 3114, 3115, 3116, 3117, 3118, 3119]}, "1206": {"name": "model.synthetix.core_rewards_claimed_base_sepolia", "type": "model", "succ": [3041, 3042, 3043, 3044, 3045, 3046, 3047, 3048, 3049, 3050, 3051, 3052, 3053, 3054, 3055, 3056]}, "1207": {"name": "model.synthetix.core_liquidation_base_sepolia", "type": "model", "succ": [2983, 2984, 2985, 2986, 2987, 2988, 2989, 2990, 2991, 2992, 2993, 2994, 2995, 2996, 2997, 2998]}, "1208": {"name": "model.synthetix.core_usd_minted_base_sepolia", "type": "model", "succ": [1358, 1378, 3089, 3090, 3091, 3092, 3093, 3094, 3095, 3096, 3097, 3098, 3099, 3100, 3101, 3102, 3103, 3104]}, "1209": {"name": "model.synthetix.core_delegation_updated_base_sepolia", "type": "model", "succ": [1361, 1366, 2937, 2938, 2939, 2940, 2941, 2942, 2943, 2944, 2945, 2946, 2947, 2948, 2949, 2950, 2951, 2952, 2953, 2954]}, "1210": {"name": "model.synthetix.core_vault_debt_base_sepolia", "type": "model", "succ": [1345, 1359, 3130, 3131, 3132, 3133, 3134, 3135, 3136]}, "1211": {"name": "model.synthetix.core_usd_burned_base_sepolia", "type": "model", "succ": [1358, 1378, 3073, 3074, 3075, 3076, 3077, 3078, 3079, 3080, 3081, 3082, 3083, 3084, 3085, 3086, 3087, 3088]}, "1212": {"name": "model.synthetix.core_market_registered_base_sepolia", "type": "model", "succ": [3017, 3018, 3019, 3020, 3021, 3022, 3023, 3024, 3025, 3026, 3027, 3028]}, "1213": {"name": "model.synthetix.core_pool_created_base_sepolia", "type": "model", "succ": [1356, 3029, 3030, 3031, 3032, 3033, 3034, 3035, 3036, 3037, 3038, 3039, 3040]}, "1214": {"name": "model.synthetix.spot_order_committed_base_sepolia", "type": "model", "succ": [3137, 3138, 3139, 3140, 3141, 3142, 3143, 3144, 3145, 3146, 3147, 3148, 3149, 3150, 3151]}, "1215": {"name": "model.synthetix.spot_synth_wrapped_base_sepolia", "type": "model", "succ": [1379, 3223, 3224, 3225, 3226, 3227, 3228, 3229, 3230, 3231, 3232, 3233, 3234]}, "1216": {"name": "model.synthetix.spot_synth_registered_base_sepolia", "type": "model", "succ": [1381, 3180, 3181, 3182, 3183, 3184, 3185, 3186, 3187, 3188, 3189, 3190]}, "1217": {"name": "model.synthetix.spot_synth_sold_base_sepolia", "type": "model", "succ": [1380, 3206, 3207, 3208, 3209, 3210, 3211, 3212, 3213, 3214, 3215, 3216, 3217, 3218, 3219, 3220, 3221, 3222]}, "1218": {"name": "model.synthetix.spot_synth_unwrapped_base_sepolia", "type": "model", "succ": [1379, 3235, 3236, 3237, 3238, 3239, 3240, 3241, 3242, 3243, 3244, 3245, 3246, 3247, 3248]}, "1219": {"name": "model.synthetix.spot_order_cancelled_base_sepolia", "type": "model", "succ": [3169, 3170, 3171, 3172, 3173, 3174, 3175, 3176, 3177, 3178, 3179]}, "1220": {"name": "model.synthetix.spot_synth_bought_base_sepolia", "type": "model", "succ": [1380, 3191, 3192, 3193, 3194, 3195, 3196, 3197, 3198, 3199, 3200, 3201, 3202, 3203, 3204, 3205]}, "1221": {"name": "model.synthetix.spot_order_settled_base_sepolia", "type": "model", "succ": [3152, 3153, 3154, 3155, 3156, 3157, 3158, 3159, 3160, 3161, 3162, 3163, 3164, 3165, 3166, 3167, 3168]}, "1222": {"name": "model.synthetix.fct_core_pool_collateral_eth_mainnet", "type": "model", "succ": [3300, 3301, 3302]}, "1223": {"name": "model.synthetix.fct_core_apr_rewards_eth_mainnet", "type": "model"}, "1224": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_eth_mainnet", "type": "model", "succ": [1223]}, "1225": {"name": "model.synthetix.fct_pool_pnl_hourly_eth_mainnet", "type": "model", "succ": [1224, 1236, 3331, 3332, 3333, 3334, 3335, 3336, 3337, 3338, 3339, 3340, 3341, 3342, 3343, 3344, 3345, 3346, 3347]}, "1226": {"name": "model.synthetix.fct_pool_debt_eth_mainnet", "type": "model", "succ": [1225, 1227, 1229, 1230, 3312, 3313, 3314, 3315, 3316, 3317]}, "1227": {"name": "model.synthetix.fct_pool_issuance_hourly_eth_mainnet", "type": "model", "succ": [1225, 3318, 3319, 3320, 3321, 3322]}, "1228": {"name": "model.synthetix.fct_pool_rewards_hourly_eth_mainnet", "type": "model", "succ": [1225, 3348, 3349, 3350, 3351, 3352, 3353]}, "1229": {"name": "model.synthetix.fct_core_migration_hourly_eth_mainnet", "type": "model", "succ": [1225, 3380, 3381, 3382, 3383, 3384, 3385]}, "1230": {"name": "model.synthetix.fct_pool_rewards_token_hourly_eth_mainnet", "type": "model", "succ": [1224, 1228, 3354, 3355, 3356, 3357, 3358, 3359, 3360, 3361, 3362, 3363, 3364, 3365, 3366, 3367]}, "1231": {"name": "model.synthetix.fct_core_migration_eth_mainnet", "type": "model", "succ": [1229, 3368, 3369, 3370, 3371, 3372, 3373, 3374, 3375, 3376, 3377, 3378, 3379]}, "1232": {"name": "model.synthetix.fct_pool_issuance_eth_mainnet", "type": "model", "succ": [1227, 3323, 3324, 3325, 3326, 3327, 3328, 3329, 3330]}, "1233": {"name": "model.synthetix.fct_core_pool_delegation_eth_mainnet", "type": "model", "succ": [3303, 3304, 3305, 3306]}, "1234": {"name": "model.synthetix.fct_core_account_delegation_eth_mainnet", "type": "model", "succ": [3257, 3258, 3259, 3260, 3261, 3262, 3263]}, "1235": {"name": "model.synthetix.fct_core_market_updated_eth_mainnet", "type": "model", "succ": [3288, 3289, 3290, 3291, 3292, 3293, 3294, 3295, 3296, 3297, 3298, 3299]}, "1236": {"name": "model.synthetix.fct_core_apr_eth_mainnet", "type": "model", "succ": [3264, 3265, 3266, 3267, 3268, 3269, 3270, 3271, 3272, 3273, 3274, 3275, 3276, 3277, 3278, 3279, 3280, 3281, 3282, 3283, 3284, 3285, 3286, 3287]}, "1237": {"name": "model.synthetix.fct_pool_rewards_eth_mainnet", "type": "model", "succ": [1230, 3249, 3250, 3251, 3252, 3253, 3254, 3255, 3256]}, "1238": {"name": "seed.synthetix.eth_mainnet_reward_distributors", "type": "seed", "succ": [1237]}, "1239": {"name": "model.synthetix.fct_core_pools_eth_mainnet", "type": "model", "succ": [3307, 3308, 3309, 3310, 3311]}, "1240": {"name": "model.synthetix.fct_prices_hourly_eth_mainnet", "type": "model", "succ": [1230, 3390, 3391, 3392, 3393]}, "1241": {"name": "model.synthetix.fct_prices_eth_mainnet", "type": "model", "succ": [1240, 3386, 3387, 3388, 3389]}, "1242": {"name": "seed.synthetix.eth_mainnet_tokens", "type": "seed", "succ": [1241]}, "1243": {"name": "model.synthetix.fct_pool_debt_arbitrum_mainnet", "type": "model", "succ": [1247, 1250, 1246, 3456, 3457, 3458, 3459, 3460, 3461]}, "1244": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_mainnet", "type": "model", "succ": [3402, 3403, 3404, 3405, 3406, 3407, 3408]}, "1245": {"name": "model.synthetix.fct_core_apr_arbitrum_mainnet", "type": "model", "succ": [3409, 3410, 3411, 3412, 3413, 3414, 3415, 3416, 3417, 3418, 3419, 3420, 3421, 3422, 3423, 3424, 3425, 3426, 3427, 3428, 3429, 3430, 3431]}, "1246": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_mainnet", "type": "model", "succ": [1245, 1258, 3475, 3476, 3477, 3478, 3479, 3480, 3481, 3482, 3483, 3484, 3485, 3486, 3487, 3488, 3489, 3490]}, "1247": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_mainnet", "type": "model", "succ": [1256, 1258, 3497, 3498, 3499, 3500, 3501, 3502, 3503, 3504, 3505, 3506, 3507, 3508, 3509, 3510]}, "1248": {"name": "model.synthetix.fct_pool_rewards_arbitrum_mainnet", "type": "model", "succ": [1247, 3394, 3395, 3396, 3397, 3398, 3399, 3400, 3401]}, "1249": {"name": "model.synthetix.fct_prices_hourly_arbitrum_mainnet", "type": "model", "succ": [1247, 3543, 3544, 3545, 3546]}, "1250": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_mainnet", "type": "model", "succ": [1246, 3462, 3463, 3464, 3465, 3466]}, "1251": {"name": "model.synthetix.fct_pool_issuance_arbitrum_mainnet", "type": "model", "succ": [1250, 3467, 3468, 3469, 3470, 3471, 3472, 3473, 3474]}, "1252": {"name": "model.synthetix.fct_core_pools_arbitrum_mainnet", "type": "model", "succ": [3451, 3452, 3453, 3454, 3455]}, "1253": {"name": "model.synthetix.fct_core_market_updated_arbitrum_mainnet", "type": "model", "succ": [3432, 3433, 3434, 3435, 3436, 3437, 3438, 3439, 3440, 3441, 3442, 3443]}, "1254": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_mainnet", "type": "model", "succ": [3447, 3448, 3449, 3450]}, "1255": {"name": "seed.synthetix.arbitrum_mainnet_reward_distributors", "type": "seed", "succ": [1248, 4320, 4321]}, "1256": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_mainnet", "type": "model", "succ": [1246, 3491, 3492, 3493, 3494, 3495, 3496]}, "1257": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_mainnet", "type": "model"}, "1258": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_mainnet", "type": "model", "succ": [1257]}, "1259": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_mainnet", "type": "model", "succ": [3444, 3445, 3446]}, "1260": {"name": "model.synthetix.fct_spot_atomics_arbitrum_mainnet", "type": "model", "succ": [1261, 3516, 3517, 3518, 3519, 3520, 3521, 3522, 3523, 3524, 3525]}, "1261": {"name": "model.synthetix.fct_synth_supply_arbitrum_mainnet", "type": "model", "succ": [3511, 3512, 3513, 3514, 3515]}, "1262": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_mainnet", "type": "model", "succ": [1261, 3531, 3532, 3533, 3534, 3535, 3536, 3537, 3538]}, "1263": {"name": "model.synthetix.fct_spot_markets_arbitrum_mainnet", "type": "model", "succ": [3526, 3527, 3528, 3529, 3530]}, "1264": {"name": "model.synthetix.fct_prices_arbitrum_mainnet", "type": "model", "succ": [1249, 3539, 3540, 3541, 3542]}, "1265": {"name": "seed.synthetix.arbitrum_mainnet_tokens", "type": "seed", "succ": [1264, 4328, 4329]}, "1266": {"name": "model.synthetix.fct_pool_issuance_arbitrum_sepolia", "type": "model", "succ": [1274, 3620, 3621, 3622, 3623, 3624, 3625, 3626, 3627]}, "1267": {"name": "model.synthetix.fct_pool_rewards_arbitrum_sepolia", "type": "model", "succ": [1277, 3547, 3548, 3549, 3550, 3551, 3552, 3553, 3554]}, "1268": {"name": "seed.synthetix.arbitrum_sepolia_reward_distributors", "type": "seed", "succ": [1267, 4322, 4323]}, "1269": {"name": "model.synthetix.fct_core_apr_arbitrum_sepolia", "type": "model", "succ": [3562, 3563, 3564, 3565, 3566, 3567, 3568, 3569, 3570, 3571, 3572, 3573, 3574, 3575, 3576, 3577, 3578, 3579, 3580, 3581, 3582, 3583, 3584]}, "1270": {"name": "model.synthetix.fct_pool_pnl_hourly_arbitrum_sepolia", "type": "model", "succ": [1269, 1279, 3628, 3629, 3630, 3631, 3632, 3633, 3634, 3635, 3636, 3637, 3638, 3639, 3640, 3641, 3642, 3643]}, "1271": {"name": "model.synthetix.fct_core_pools_arbitrum_sepolia", "type": "model", "succ": [3604, 3605, 3606, 3607, 3608]}, "1272": {"name": "model.synthetix.fct_core_account_delegation_arbitrum_sepolia", "type": "model", "succ": [3555, 3556, 3557, 3558, 3559, 3560, 3561]}, "1273": {"name": "model.synthetix.fct_pool_debt_arbitrum_sepolia", "type": "model", "succ": [1270, 1277, 1274, 3609, 3610, 3611, 3612, 3613, 3614]}, "1274": {"name": "model.synthetix.fct_pool_issuance_hourly_arbitrum_sepolia", "type": "model", "succ": [1270, 3615, 3616, 3617, 3618, 3619]}, "1275": {"name": "model.synthetix.fct_pool_rewards_hourly_arbitrum_sepolia", "type": "model", "succ": [1270, 3644, 3645, 3646, 3647, 3648, 3649]}, "1276": {"name": "model.synthetix.fct_core_pool_collateral_arbitrum_sepolia", "type": "model", "succ": [3597, 3598, 3599]}, "1277": {"name": "model.synthetix.fct_pool_rewards_token_hourly_arbitrum_sepolia", "type": "model", "succ": [1279, 1275, 3650, 3651, 3652, 3653, 3654, 3655, 3656, 3657, 3658, 3659, 3660, 3661, 3662, 3663]}, "1278": {"name": "model.synthetix.fct_prices_hourly_arbitrum_sepolia", "type": "model", "succ": [1277, 3696, 3697, 3698, 3699]}, "1279": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_arbitrum_sepolia", "type": "model", "succ": [1281]}, "1280": {"name": "model.synthetix.fct_core_pool_delegation_arbitrum_sepolia", "type": "model", "succ": [3600, 3601, 3602, 3603]}, "1281": {"name": "model.synthetix.fct_core_apr_rewards_arbitrum_sepolia", "type": "model"}, "1282": {"name": "model.synthetix.fct_core_market_updated_arbitrum_sepolia", "type": "model", "succ": [3585, 3586, 3587, 3588, 3589, 3590, 3591, 3592, 3593, 3594, 3595, 3596]}, "1283": {"name": "model.synthetix.fct_synth_supply_arbitrum_sepolia", "type": "model", "succ": [3664, 3665, 3666, 3667, 3668]}, "1284": {"name": "model.synthetix.fct_spot_wrapper_arbitrum_sepolia", "type": "model", "succ": [1283, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691]}, "1285": {"name": "model.synthetix.fct_spot_atomics_arbitrum_sepolia", "type": "model", "succ": [1283, 3669, 3670, 3671, 3672, 3673, 3674, 3675, 3676, 3677, 3678]}, "1286": {"name": "model.synthetix.fct_spot_markets_arbitrum_sepolia", "type": "model", "succ": [3679, 3680, 3681, 3682, 3683]}, "1287": {"name": "model.synthetix.fct_prices_arbitrum_sepolia", "type": "model", "succ": [1278, 3692, 3693, 3694, 3695]}, "1288": {"name": "seed.synthetix.arbitrum_sepolia_tokens", "type": "seed", "succ": [1287, 4330, 4331]}, "1289": {"name": "model.synthetix.fct_perp_trades_base_mainnet", "type": "model", "succ": [1323, 1325, 1328, 1327, 1324, 3735, 3736, 3737, 3738, 3739, 3740, 3741, 3742, 3743, 3744, 3745, 3746, 3747, 3748, 3749, 3750, 3751, 3752, 3753, 3754, 3755, 3756, 3757, 3758, 3759, 3760, 3761, 3762, 3763, 3764, 3765, 3766]}, "1290": {"name": "model.synthetix.fct_perp_markets_base_mainnet", "type": "model", "succ": [1289, 1292, 1293, 1297, 3780, 3781, 3782, 3783, 3784, 3785]}, "1291": {"name": "model.synthetix.fct_perp_previous_order_expired_base_mainnet", "type": "model", "succ": [3723, 3724, 3725, 3726, 3727, 3728, 3729, 3730, 3731, 3732, 3733, 3734]}, "1292": {"name": "model.synthetix.fct_perp_market_history_base_mainnet", "type": "model", "succ": [1335, 3786, 3787, 3788, 3789, 3790, 3791, 3792, 3793, 3794, 3795, 3796, 3797, 3798, 3799, 3800, 3801, 3802, 3803, 3804]}, "1293": {"name": "model.synthetix.fct_perp_orders_base_mainnet", "type": "model", "succ": [3770, 3771, 3772, 3773, 3774, 3775, 3776, 3777, 3778, 3779]}, "1294": {"name": "model.synthetix.fct_perp_collateral_modified_base_mainnet", "type": "model", "succ": [3712, 3713, 3714, 3715, 3716, 3717, 3718, 3719, 3720, 3721, 3722]}, "1295": {"name": "model.synthetix.fct_perp_interest_charged_base_mainnet", "type": "model", "succ": [3700, 3701, 3702, 3703, 3704, 3705, 3706, 3707, 3708, 3709, 3710, 3711]}, "1296": {"name": "model.synthetix.fct_perp_pnl_base_mainnet", "type": "model", "succ": [3767, 3768, 3769]}, "1297": {"name": "model.synthetix.fct_perp_liq_position_base_mainnet", "type": "model", "succ": [1325, 1327, 3805, 3806, 3807, 3808, 3809, 3810, 3811, 3812, 3813, 3814, 3815, 3816, 3817]}, "1298": {"name": "model.synthetix.fct_perp_liq_account_base_mainnet", "type": "model", "succ": [1322, 3818, 3819, 3820, 3821]}, "1299": {"name": "model.synthetix.fct_perp_accounts_base_mainnet", "type": "model", "succ": [3822, 3823, 3824, 3825]}, "1300": {"name": "model.synthetix.fct_buyback_hourly_base_mainnet", "type": "model", "succ": [3835, 3836, 3837, 3838, 3839, 3840, 3841, 3842, 3843]}, "1301": {"name": "model.synthetix.fct_buyback_base_mainnet", "type": "model", "succ": [1300, 1302, 1335, 3844, 3845, 3846, 3847, 3848, 3849, 3850, 3851, 3852, 3853]}, "1302": {"name": "model.synthetix.fct_buyback_daily_base_mainnet", "type": "model", "succ": [3826, 3827, 3828, 3829, 3830, 3831, 3832, 3833, 3834]}, "1303": {"name": "model.synthetix.fct_core_pools_base_mainnet", "type": "model", "succ": [3920, 3921, 3922, 3923, 3924]}, "1304": {"name": "model.synthetix.fct_pool_rewards_hourly_base_mainnet", "type": "model", "succ": [1309, 3959, 3960, 3961, 3962, 3963, 3964]}, "1305": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_mainnet", "type": "model", "succ": [1304, 1308, 3965, 3966, 3967, 3968, 3969, 3970, 3971, 3972, 3973, 3974, 3975, 3976, 3977, 3978]}, "1306": {"name": "model.synthetix.fct_core_vault_collateral_base_mainnet", "type": "model", "succ": [3854, 3855, 3856, 3857, 3858, 3859, 3860, 3861, 3862, 3863]}, "1307": {"name": "model.synthetix.fct_core_market_updated_base_mainnet", "type": "model", "succ": [3901, 3902, 3903, 3904, 3905, 3906, 3907, 3908, 3909, 3910, 3911, 3912]}, "1308": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_mainnet", "type": "model", "succ": [1313]}, "1309": {"name": "model.synthetix.fct_pool_pnl_hourly_base_mainnet", "type": "model", "succ": [1308, 1320, 3944, 3945, 3946, 3947, 3948, 3949, 3950, 3951, 3952, 3953, 3954, 3955, 3956, 3957, 3958]}, "1310": {"name": "model.synthetix.fct_pool_rewards_base_mainnet", "type": "model", "succ": [1305, 3864, 3865, 3866, 3867, 3868, 3869, 3870, 3871]}, "1311": {"name": "seed.synthetix.base_mainnet_reward_distributors", "type": "seed", "succ": [1310, 4324, 4325]}, "1312": {"name": "model.synthetix.fct_pool_issuance_base_mainnet", "type": "model", "succ": [1314, 3936, 3937, 3938, 3939, 3940, 3941, 3942, 3943]}, "1313": {"name": "model.synthetix.fct_core_apr_rewards_base_mainnet", "type": "model"}, "1314": {"name": "model.synthetix.fct_pool_issuance_hourly_base_mainnet", "type": "model", "succ": [1309, 3931, 3932, 3933, 3934, 3935]}, "1315": {"name": "model.synthetix.fct_pool_debt_base_mainnet", "type": "model", "succ": [1314, 1309, 1305, 3925, 3926, 3927, 3928, 3929, 3930]}, "1316": {"name": "model.synthetix.fct_core_account_delegation_base_mainnet", "type": "model", "succ": [3872, 3873, 3874, 3875, 3876, 3877, 3878]}, "1317": {"name": "model.synthetix.fct_prices_hourly_base_mainnet", "type": "model", "succ": [1305, 4011, 4012, 4013, 4014]}, "1318": {"name": "model.synthetix.fct_core_pool_delegation_base_mainnet", "type": "model", "succ": [3916, 3917, 3918, 3919]}, "1319": {"name": "model.synthetix.fct_core_pool_collateral_base_mainnet", "type": "model", "succ": [3913, 3914, 3915]}, "1320": {"name": "model.synthetix.fct_core_apr_base_mainnet", "type": "model", "succ": [3879, 3880, 3881, 3882, 3883, 3884, 3885, 3886, 3887, 3888, 3889, 3890, 3891, 3892, 3893, 3894, 3895, 3896, 3897, 3898, 3899, 3900]}, "1321": {"name": "model.synthetix.fct_perp_stats_daily_base_mainnet", "type": "model"}, "1322": {"name": "model.synthetix.fct_perp_stats_hourly_base_mainnet", "type": "model", "succ": [1321]}, "1323": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_mainnet", "type": "model"}, "1324": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_mainnet", "type": "model", "succ": [1323]}, "1325": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_mainnet", "type": "model", "succ": [1322, 1329]}, "1326": {"name": "model.synthetix.fct_perp_account_stats_daily_base_mainnet", "type": "model"}, "1327": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_mainnet", "type": "model", "succ": [1326]}, "1328": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_mainnet", "type": "model", "succ": [1330]}, "1329": {"name": "model.synthetix.fct_perp_market_stats_daily_base_mainnet", "type": "model"}, "1330": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_mainnet", "type": "model"}, "1331": {"name": "model.synthetix.fct_spot_markets_base_mainnet", "type": "model", "succ": [3994, 3995, 3996, 3997, 3998]}, "1332": {"name": "model.synthetix.fct_synth_supply_base_mainnet", "type": "model", "succ": [3979, 3980, 3981, 3982, 3983]}, "1333": {"name": "model.synthetix.fct_spot_wrapper_base_mainnet", "type": "model", "succ": [1332, 3999, 4000, 4001, 4002, 4003, 4004, 4005, 4006]}, "1334": {"name": "model.synthetix.fct_spot_atomics_base_mainnet", "type": "model", "succ": [1332, 3984, 3985, 3986, 3987, 3988, 3989, 3990, 3991, 3992, 3993]}, "1335": {"name": "model.synthetix.fct_prices_base_mainnet", "type": "model", "succ": [1317, 4007, 4008, 4009, 4010]}, "1336": {"name": "seed.synthetix.base_mainnet_tokens", "type": "seed", "succ": [1335, 4332, 4333]}, "1337": {"name": "model.synthetix.fct_perp_market_history_base_sepolia", "type": "model", "succ": [1382, 4101, 4102, 4103, 4104, 4105, 4106, 4107, 4108, 4109, 4110, 4111, 4112, 4113, 4114, 4115, 4116, 4117, 4118, 4119]}, "1338": {"name": "model.synthetix.fct_perp_markets_base_sepolia", "type": "model", "succ": [1337, 1344, 1346, 1347, 4095, 4096, 4097, 4098, 4099, 4100]}, "1339": {"name": "model.synthetix.fct_perp_accounts_base_sepolia", "type": "model", "succ": [4137, 4138, 4139, 4140]}, "1340": {"name": "model.synthetix.fct_perp_previous_order_expired_base_sepolia", "type": "model", "succ": [4038, 4039, 4040, 4041, 4042, 4043, 4044, 4045, 4046, 4047, 4048, 4049]}, "1341": {"name": "model.synthetix.fct_perp_interest_charged_base_sepolia", "type": "model", "succ": [4015, 4016, 4017, 4018, 4019, 4020, 4021, 4022, 4023, 4024, 4025, 4026]}, "1342": {"name": "model.synthetix.fct_perp_liq_account_base_sepolia", "type": "model", "succ": [1371, 4133, 4134, 4135, 4136]}, "1343": {"name": "model.synthetix.fct_perp_collateral_modified_base_sepolia", "type": "model", "succ": [4027, 4028, 4029, 4030, 4031, 4032, 4033, 4034, 4035, 4036, 4037]}, "1344": {"name": "model.synthetix.fct_perp_trades_base_sepolia", "type": "model", "succ": [1372, 1373, 1369, 1376, 1377, 4050, 4051, 4052, 4053, 4054, 4055, 4056, 4057, 4058, 4059, 4060, 4061, 4062, 4063, 4064, 4065, 4066, 4067, 4068, 4069, 4070, 4071, 4072, 4073, 4074, 4075, 4076, 4077, 4078, 4079, 4080, 4081]}, "1345": {"name": "model.synthetix.fct_perp_pnl_base_sepolia", "type": "model", "succ": [4082, 4083, 4084]}, "1346": {"name": "model.synthetix.fct_perp_liq_position_base_sepolia", "type": "model", "succ": [1372, 1373, 4120, 4121, 4122, 4123, 4124, 4125, 4126, 4127, 4128, 4129, 4130, 4131, 4132]}, "1347": {"name": "model.synthetix.fct_perp_orders_base_sepolia", "type": "model", "succ": [4085, 4086, 4087, 4088, 4089, 4090, 4091, 4092, 4093, 4094]}, "1348": {"name": "model.synthetix.fct_buyback_daily_base_sepolia", "type": "model", "succ": [4141, 4142, 4143, 4144, 4145, 4146, 4147, 4148, 4149]}, "1349": {"name": "model.synthetix.fct_buyback_base_sepolia", "type": "model", "succ": [1348, 1350, 1382, 4159, 4160, 4161, 4162, 4163, 4164, 4165, 4166, 4167, 4168]}, "1350": {"name": "model.synthetix.fct_buyback_hourly_base_sepolia", "type": "model", "succ": [4150, 4151, 4152, 4153, 4154, 4155, 4156, 4157, 4158]}, "1351": {"name": "model.synthetix.fct_pool_rewards_base_sepolia", "type": "model", "succ": [1355, 4169, 4170, 4171, 4172, 4173, 4174, 4175, 4176]}, "1352": {"name": "seed.synthetix.base_sepolia_reward_distributors", "type": "seed", "succ": [1351, 4326, 4327]}, "1353": {"name": "model.synthetix.fct_pool_pnl_hourly_reward_base_sepolia", "type": "model", "succ": [1362]}, "1354": {"name": "model.synthetix.fct_pool_pnl_hourly_base_sepolia", "type": "model", "succ": [1353, 1365, 4249, 4250, 4251, 4252, 4253, 4254, 4255, 4256, 4257, 4258, 4259, 4260, 4261, 4262, 4263]}, "1355": {"name": "model.synthetix.fct_pool_rewards_token_hourly_base_sepolia", "type": "model", "succ": [1353, 1360, 4270, 4271, 4272, 4273, 4274, 4275, 4276, 4277, 4278, 4279, 4280, 4281, 4282, 4283]}, "1356": {"name": "model.synthetix.fct_core_pools_base_sepolia", "type": "model", "succ": [4225, 4226, 4227, 4228, 4229]}, "1357": {"name": "model.synthetix.fct_pool_issuance_hourly_base_sepolia", "type": "model", "succ": [1354, 4236, 4237, 4238, 4239, 4240]}, "1358": {"name": "model.synthetix.fct_pool_issuance_base_sepolia", "type": "model", "succ": [1357, 4241, 4242, 4243, 4244, 4245, 4246, 4247, 4248]}, "1359": {"name": "model.synthetix.fct_pool_debt_base_sepolia", "type": "model", "succ": [1357, 1355, 1354, 4230, 4231, 4232, 4233, 4234, 4235]}, "1360": {"name": "model.synthetix.fct_pool_rewards_hourly_base_sepolia", "type": "model", "succ": [1354, 4264, 4265, 4266, 4267, 4268, 4269]}, "1361": {"name": "model.synthetix.fct_core_pool_delegation_base_sepolia", "type": "model", "succ": [4221, 4222, 4223, 4224]}, "1362": {"name": "model.synthetix.fct_core_apr_rewards_base_sepolia", "type": "model"}, "1363": {"name": "model.synthetix.fct_prices_hourly_base_sepolia", "type": "model", "succ": [1355, 4316, 4317, 4318, 4319]}, "1364": {"name": "model.synthetix.fct_core_market_updated_base_sepolia", "type": "model", "succ": [4206, 4207, 4208, 4209, 4210, 4211, 4212, 4213, 4214, 4215, 4216, 4217]}, "1365": {"name": "model.synthetix.fct_core_apr_base_sepolia", "type": "model", "succ": [4184, 4185, 4186, 4187, 4188, 4189, 4190, 4191, 4192, 4193, 4194, 4195, 4196, 4197, 4198, 4199, 4200, 4201, 4202, 4203, 4204, 4205]}, "1366": {"name": "model.synthetix.fct_core_account_delegation_base_sepolia", "type": "model", "succ": [4177, 4178, 4179, 4180, 4181, 4182, 4183]}, "1367": {"name": "model.synthetix.fct_core_pool_collateral_base_sepolia", "type": "model", "succ": [4218, 4219, 4220]}, "1368": {"name": "model.synthetix.fct_perp_keeper_stats_daily_base_sepolia", "type": "model"}, "1369": {"name": "model.synthetix.fct_perp_keeper_stats_hourly_base_sepolia", "type": "model", "succ": [1368]}, "1370": {"name": "model.synthetix.fct_perp_stats_daily_base_sepolia", "type": "model"}, "1371": {"name": "model.synthetix.fct_perp_stats_hourly_base_sepolia", "type": "model", "succ": [1370]}, "1372": {"name": "model.synthetix.fct_perp_account_stats_hourly_base_sepolia", "type": "model", "succ": [1374]}, "1373": {"name": "model.synthetix.fct_perp_market_stats_hourly_base_sepolia", "type": "model", "succ": [1371, 1375]}, "1374": {"name": "model.synthetix.fct_perp_account_stats_daily_base_sepolia", "type": "model"}, "1375": {"name": "model.synthetix.fct_perp_market_stats_daily_base_sepolia", "type": "model"}, "1376": {"name": "model.synthetix.fct_perp_tracking_stats_daily_base_sepolia", "type": "model"}, "1377": {"name": "model.synthetix.fct_perp_tracking_stats_hourly_base_sepolia", "type": "model", "succ": [1376]}, "1378": {"name": "model.synthetix.fct_synth_supply_base_sepolia", "type": "model", "succ": [4284, 4285, 4286, 4287, 4288]}, "1379": {"name": "model.synthetix.fct_spot_wrapper_base_sepolia", "type": "model", "succ": [1378, 4304, 4305, 4306, 4307, 4308, 4309, 4310, 4311]}, "1380": {"name": "model.synthetix.fct_spot_atomics_base_sepolia", "type": "model", "succ": [1378, 4289, 4290, 4291, 4292, 4293, 4294, 4295, 4296, 4297, 4298]}, "1381": {"name": "model.synthetix.fct_spot_markets_base_sepolia", "type": "model", "succ": [4299, 4300, 4301, 4302, 4303]}, "1382": {"name": "model.synthetix.fct_prices_base_sepolia", "type": "model", "succ": [1363, 4312, 4313, 4314, 4315]}, "1383": {"name": "seed.synthetix.base_sepolia_tokens", "type": "seed", "succ": [1382, 4334, 4335]}, "1384": {"name": "test.synthetix.not_null_blocks_eth_mainnet_block_number.aba38b4904", "type": "test"}, "1385": {"name": "test.synthetix.unique_blocks_eth_mainnet_block_number.ddb4ca7d09", "type": "test"}, "1386": {"name": "test.synthetix.dbt_utils_recency_blocks_eth_mainnet_hour__ts__1.7c6c4534db", "type": "test"}, "1387": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_owner.9141d07512", "type": "test"}, "1388": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_account_id.162a9a11ae", "type": "test"}, "1389": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_eth_mainnet_account_id__True__0.4d9379ebdc", "type": "test"}, "1390": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_id.0d5cd71e99", "type": "test"}, "1391": {"name": "test.synthetix.unique_core_account_created_eth_mainnet_id.51b373b820", "type": "test"}, "1392": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_transaction_hash.5349e51024", "type": "test"}, "1393": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_number.be5f037644", "type": "test"}, "1394": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_block_timestamp.8287155cde", "type": "test"}, "1395": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_event_name.5a44f6813f", "type": "test"}, "1396": {"name": "test.synthetix.accepted_values_core_account_created_eth_mainnet_event_name__AccountCreated.7bff7383b3", "type": "test"}, "1397": {"name": "test.synthetix.not_null_core_account_created_eth_mainnet_contract.84cae83ab9", "type": "test"}, "1398": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_staker.cb3d4f410b", "type": "test"}, "1399": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_account_id.6263532792", "type": "test"}, "1400": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_account_id__True__0.f1da2d38e8", "type": "test"}, "1401": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_id.3f18fc79cf", "type": "test"}, "1402": {"name": "test.synthetix.unique_core_account_migrated_eth_mainnet_id.b21ce76ba7", "type": "test"}, "1403": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_transaction_hash.bb710f8259", "type": "test"}, "1404": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_number.8a5aa490b5", "type": "test"}, "1405": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_block_timestamp.29c8a3ae97", "type": "test"}, "1406": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_event_name.969c074241", "type": "test"}, "1407": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_contract.ccd34b4a40", "type": "test"}, "1408": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_collateral_amount.3673a78a7a", "type": "test"}, "1409": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_collateral_amount__True__0.b1df54815d", "type": "test"}, "1410": {"name": "test.synthetix.not_null_core_account_migrated_eth_mainnet_debt_amount.37622c6a60", "type": "test"}, "1411": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_migrated_eth_mainnet_debt_amount__True__0.a8e29325c2", "type": "test"}, "1412": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_contract.5d369822a4", "type": "test"}, "1413": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_id.622c20c239", "type": "test"}, "1414": {"name": "test.synthetix.unique_core_delegation_updated_eth_mainnet_id.2467edf8ec", "type": "test"}, "1415": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_account_id.141fb0f466", "type": "test"}, "1416": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_account_id__True__0.3a3f9a0475", "type": "test"}, "1417": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_collateral_type.e3d73862e4", "type": "test"}, "1418": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_pool_id.914b411c12", "type": "test"}, "1419": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_pool_id__True__0.fb370aa2ca", "type": "test"}, "1420": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_sender.3a40ed8f3a", "type": "test"}, "1421": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_timestamp.cd7fa2f4ff", "type": "test"}, "1422": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_block_number.5479fa5e08", "type": "test"}, "1423": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_leverage.3edfe7323e", "type": "test"}, "1424": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_leverage__True__1000000000000000000__1000000000000000000.eb061a2128", "type": "test"}, "1425": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_transaction_hash.048b7a5c68", "type": "test"}, "1426": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_amount.256481de3c", "type": "test"}, "1427": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_eth_mainnet_amount__True__0.94b97c0270", "type": "test"}, "1428": {"name": "test.synthetix.not_null_core_delegation_updated_eth_mainnet_event_name.69b76075f5", "type": "test"}, "1429": {"name": "test.synthetix.accepted_values_core_delegation_updated_eth_mainnet_event_name__DelegationUpdated.ec623b86f2", "type": "test"}, "1430": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_collateral_type.f940e4eba6", "type": "test"}, "1431": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_id.9c5a20c527", "type": "test"}, "1432": {"name": "test.synthetix.unique_core_deposited_eth_mainnet_id.97fd3624a5", "type": "test"}, "1433": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_contract.d1fbae48f5", "type": "test"}, "1434": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_event_name.e185f199f1", "type": "test"}, "1435": {"name": "test.synthetix.accepted_values_core_deposited_eth_mainnet_event_name__Deposited.18727c72b0", "type": "test"}, "1436": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_transaction_hash.7087a2e09e", "type": "test"}, "1437": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_account_id.527d2b71c3", "type": "test"}, "1438": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_account_id__True__0.5e26b84f6a", "type": "test"}, "1439": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_sender.4c70b365da", "type": "test"}, "1440": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_timestamp.6194c9ac03", "type": "test"}, "1441": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_block_number.5e2350a777", "type": "test"}, "1442": {"name": "test.synthetix.not_null_core_deposited_eth_mainnet_token_amount.dc8696c011", "type": "test"}, "1443": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_eth_mainnet_token_amount__True__0.a57f2edd1b", "type": "test"}, "1444": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_timestamp.b6326ea438", "type": "test"}, "1445": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_contract.a4eb9c51f7", "type": "test"}, "1446": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_block_number.74ee30eaa5", "type": "test"}, "1447": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_transaction_hash.6b6f75c74b", "type": "test"}, "1448": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_token_amount.d3547c3837", "type": "test"}, "1449": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_token_amount__True__0.8bd25add1c", "type": "test"}, "1450": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_collateral_type.28458fb6de", "type": "test"}, "1451": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_account_id.7846828c26", "type": "test"}, "1452": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_eth_mainnet_account_id__True__0.cdf381b428", "type": "test"}, "1453": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_id.b0e6ed95b5", "type": "test"}, "1454": {"name": "test.synthetix.unique_core_withdrawn_eth_mainnet_id.3d5210133c", "type": "test"}, "1455": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_sender.b7bc5bdadc", "type": "test"}, "1456": {"name": "test.synthetix.not_null_core_withdrawn_eth_mainnet_event_name.2d3b6771d6", "type": "test"}, "1457": {"name": "test.synthetix.accepted_values_core_withdrawn_eth_mainnet_event_name__Withdrawn.cbf35f5a80", "type": "test"}, "1458": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_pool_id.0966ab4339", "type": "test"}, "1459": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_pool_id__True__0.0b09af0400", "type": "test"}, "1460": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_timestamp.c85990976a", "type": "test"}, "1461": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_block_number.8c6c1cbe38", "type": "test"}, "1462": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_id.8175916dcc", "type": "test"}, "1463": {"name": "test.synthetix.unique_core_liquidation_eth_mainnet_id.05a09be0f1", "type": "test"}, "1464": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_contract.05fe5f9d13", "type": "test"}, "1465": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_event_name.a70ed0a4dd", "type": "test"}, "1466": {"name": "test.synthetix.accepted_values_core_liquidation_eth_mainnet_event_name__Liquidation.10d3a28f0f", "type": "test"}, "1467": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_collateral_type.59a2516e40", "type": "test"}, "1468": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_sender.734f70adf9", "type": "test"}, "1469": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_account_id.13c94e5d02", "type": "test"}, "1470": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_account_id__True__0.d050e2f72d", "type": "test"}, "1471": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_transaction_hash.e3478512f6", "type": "test"}, "1472": {"name": "test.synthetix.not_null_core_liquidation_eth_mainnet_liquidate_as_account_id.778690c632", "type": "test"}, "1473": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_eth_mainnet_liquidate_as_account_id__True__0.02ffa79c7a", "type": "test"}, "1474": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_id.f7dedb5ddb", "type": "test"}, "1475": {"name": "test.synthetix.unique_core_market_updated_eth_mainnet_id.7cd00231f1", "type": "test"}, "1476": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_timestamp.683bea78d4", "type": "test"}, "1477": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_block_number.f4a7497fbe", "type": "test"}, "1478": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_transaction_hash.3a0d8e52a3", "type": "test"}, "1479": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_contract.97f87c3b4a", "type": "test"}, "1480": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_event_name.6d64c2a842", "type": "test"}, "1481": {"name": "test.synthetix.accepted_values_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.7de7687ac0", "type": "test"}, "1482": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_market_id.649fb28529", "type": "test"}, "1483": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_market_id__True__0.58438c84b4", "type": "test"}, "1484": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_net_issuance.3e92a0dc4a", "type": "test"}, "1485": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_deposited_collateral_value.93b2bdea02", "type": "test"}, "1486": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_deposited_collateral_value__True__0.06de946dba", "type": "test"}, "1487": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_sender.12a64a65ef", "type": "test"}, "1488": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_collateral_type.c83211fd2f", "type": "test"}, "1489": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_credit_capacity.baa89e2e5a", "type": "test"}, "1490": {"name": "test.synthetix.not_null_core_market_updated_eth_mainnet_token_amount.a9f6d4a588", "type": "test"}, "1491": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_eth_mainnet_token_amount__True__0.fdf0db60b7", "type": "test"}, "1492": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market.fccda96dc8", "type": "test"}, "1493": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_market_id.2e945dec67", "type": "test"}, "1494": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_market_id.496c543395", "type": "test"}, "1495": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_id.35b1e4e0f3", "type": "test"}, "1496": {"name": "test.synthetix.unique_core_market_registered_eth_mainnet_id.ae732b851b", "type": "test"}, "1497": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_timestamp.0b8054a50c", "type": "test"}, "1498": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_contract.f582853f53", "type": "test"}, "1499": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_transaction_hash.7c581f179e", "type": "test"}, "1500": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_block_number.7eec7e8f2c", "type": "test"}, "1501": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_event_name.0d26c502fa", "type": "test"}, "1502": {"name": "test.synthetix.accepted_values_core_market_registered_eth_mainnet_event_name__MarketRegistered.db8e4ac8d2", "type": "test"}, "1503": {"name": "test.synthetix.not_null_core_market_registered_eth_mainnet_sender.6e63d1acbc", "type": "test"}, "1504": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_contract.31bb49a3da", "type": "test"}, "1505": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_sender.0e2161372e", "type": "test"}, "1506": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_timestamp.edc63e1dd6", "type": "test"}, "1507": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_id.d903c0dfc4", "type": "test"}, "1508": {"name": "test.synthetix.unique_core_pool_created_eth_mainnet_id.8a7d542185", "type": "test"}, "1509": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_block_number.2f99b31050", "type": "test"}, "1510": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_transaction_hash.c51273100e", "type": "test"}, "1511": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_event_name.86049849e6", "type": "test"}, "1512": {"name": "test.synthetix.accepted_values_core_pool_created_eth_mainnet_event_name__PoolCreated.109464a698", "type": "test"}, "1513": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_owner.4ac2c4d7d7", "type": "test"}, "1514": {"name": "test.synthetix.not_null_core_pool_created_eth_mainnet_pool_id.6662208418", "type": "test"}, "1515": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_eth_mainnet_pool_id__True__0.7c8df298df", "type": "test"}, "1516": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_transaction_hash.db7f7a63db", "type": "test"}, "1517": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_account_id.a671c2ed40", "type": "test"}, "1518": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_account_id__True__0.7eae5581d0", "type": "test"}, "1519": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_collateral_type.440762309c", "type": "test"}, "1520": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_event_name.b83d684e5d", "type": "test"}, "1521": {"name": "test.synthetix.accepted_values_core_rewards_claimed_eth_mainnet_event_name__RewardsClaimed.e5c952f144", "type": "test"}, "1522": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_contract.fba4f37c05", "type": "test"}, "1523": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_amount.aa1ebaa88c", "type": "test"}, "1524": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_amount__True__0.8d7de0dad3", "type": "test"}, "1525": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_distributor.728609281c", "type": "test"}, "1526": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_timestamp.890e664a3c", "type": "test"}, "1527": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_id.d534df2fd8", "type": "test"}, "1528": {"name": "test.synthetix.unique_core_rewards_claimed_eth_mainnet_id.b73c8da16c", "type": "test"}, "1529": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_pool_id.760bae7f85", "type": "test"}, "1530": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_eth_mainnet_pool_id__True__0.4ee2d574e0", "type": "test"}, "1531": {"name": "test.synthetix.not_null_core_rewards_claimed_eth_mainnet_block_number.fb82a92db5", "type": "test"}, "1532": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_id.cb5898e934", "type": "test"}, "1533": {"name": "test.synthetix.unique_core_rewards_distributed_eth_mainnet_id.48f45b85d1", "type": "test"}, "1534": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_event_name.193bdd11d3", "type": "test"}, "1535": {"name": "test.synthetix.accepted_values_core_rewards_distributed_eth_mainnet_event_name__RewardsDistributed.fae0bd904b", "type": "test"}, "1536": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_amount.a39a6908b6", "type": "test"}, "1537": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_amount__True__0.43de804120", "type": "test"}, "1538": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_contract.4cb5b10595", "type": "test"}, "1539": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_timestamp.f066e2381d", "type": "test"}, "1540": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_transaction_hash.dd811ca405", "type": "test"}, "1541": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_collateral_type.2475fcd59d", "type": "test"}, "1542": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_block_number.79a91ea969", "type": "test"}, "1543": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_duration.07b5947e7c", "type": "test"}, "1544": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_duration__True__0.7d6965f572", "type": "test"}, "1545": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_distributor.7022e12146", "type": "test"}, "1546": {"name": "test.synthetix.not_null_core_rewards_distributed_eth_mainnet_pool_id.059709c3dd", "type": "test"}, "1547": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_eth_mainnet_pool_id__True__0.37dd01cd96", "type": "test"}, "1548": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_amount.45ebd0ede8", "type": "test"}, "1549": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_amount__True__0.7cba0ca593", "type": "test"}, "1550": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_pool_id.e4d58d3b63", "type": "test"}, "1551": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_pool_id__True__0.cc44e47fc8", "type": "test"}, "1552": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_event_name.7f0fc644d5", "type": "test"}, "1553": {"name": "test.synthetix.accepted_values_core_usd_burned_eth_mainnet_event_name__UsdBurned.1eb7853972", "type": "test"}, "1554": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_id.161a49599f", "type": "test"}, "1555": {"name": "test.synthetix.unique_core_usd_burned_eth_mainnet_id.482b04a60c", "type": "test"}, "1556": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_number.b5e8a371fc", "type": "test"}, "1557": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_account_id.fc5fb3a0e5", "type": "test"}, "1558": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_eth_mainnet_account_id__True__0.6d8f7f7d85", "type": "test"}, "1559": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_sender.62bbe0ad28", "type": "test"}, "1560": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_transaction_hash.e57add79d6", "type": "test"}, "1561": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_contract.f9009e6423", "type": "test"}, "1562": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_collateral_type.6dbc31d2ac", "type": "test"}, "1563": {"name": "test.synthetix.not_null_core_usd_burned_eth_mainnet_block_timestamp.616215c03f", "type": "test"}, "1564": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_pool_id.dd8998f0f3", "type": "test"}, "1565": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_pool_id__True__0.2d561e9842", "type": "test"}, "1566": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_timestamp.e1477f67df", "type": "test"}, "1567": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_account_id.e32d9e9621", "type": "test"}, "1568": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_account_id__True__0.b6d81dac3d", "type": "test"}, "1569": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_collateral_type.3bc61e56d9", "type": "test"}, "1570": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_block_number.8475901994", "type": "test"}, "1571": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_id.5b1199f72c", "type": "test"}, "1572": {"name": "test.synthetix.unique_core_usd_minted_eth_mainnet_id.ccad3381ec", "type": "test"}, "1573": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_sender.31025fd349", "type": "test"}, "1574": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_amount.d50e5f0da5", "type": "test"}, "1575": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_eth_mainnet_amount__True__0.17e2d727c5", "type": "test"}, "1576": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_event_name.061c40bc0a", "type": "test"}, "1577": {"name": "test.synthetix.accepted_values_core_usd_minted_eth_mainnet_event_name__UsdMinted.c8d883ddfa", "type": "test"}, "1578": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_transaction_hash.dba64c6cd2", "type": "test"}, "1579": {"name": "test.synthetix.not_null_core_usd_minted_eth_mainnet_contract.2287afa612", "type": "test"}, "1580": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_transaction_hash.5e22cb6ded", "type": "test"}, "1581": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_collateral_type.22405706c4", "type": "test"}, "1582": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_pool_id.ca9bfaf7f3", "type": "test"}, "1583": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_pool_id__True__0.cccb8c7cca", "type": "test"}, "1584": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_event_name.e6bd41012e", "type": "test"}, "1585": {"name": "test.synthetix.accepted_values_core_vault_liquidation_eth_mainnet_event_name__VaultLiquidation.8d1cb5eebf", "type": "test"}, "1586": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_id.11becd0eff", "type": "test"}, "1587": {"name": "test.synthetix.unique_core_vault_liquidation_eth_mainnet_id.9b474978a9", "type": "test"}, "1588": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_timestamp.439cb16960", "type": "test"}, "1589": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidate_as_account_id.978ffc7da9", "type": "test"}, "1590": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_eth_mainnet_liquidate_as_account_id__True__0.a9d184de0a", "type": "test"}, "1591": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_liquidation_data.485b65c6b5", "type": "test"}, "1592": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_contract.65501d763b", "type": "test"}, "1593": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_block_number.39193d7213", "type": "test"}, "1594": {"name": "test.synthetix.not_null_core_vault_liquidation_eth_mainnet_sender.03a447332b", "type": "test"}, "1595": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_ts.dc63e45225", "type": "test"}, "1596": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_block_number.68d8b02925", "type": "test"}, "1597": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_pool_id.f31cb4b3e6", "type": "test"}, "1598": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_pool_id__True__0.509da6a489", "type": "test"}, "1599": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_type.9ba1fda62f", "type": "test"}, "1600": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_amount.62dc926f36", "type": "test"}, "1601": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_amount__True__0.320b16493d", "type": "test"}, "1602": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_collateral_value.53d42edc8a", "type": "test"}, "1603": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_eth_mainnet_collateral_value__True__0.17170969dc", "type": "test"}, "1604": {"name": "test.synthetix.not_null_core_vault_collateral_eth_mainnet_contract_address.8b336867d2", "type": "test"}, "1605": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_ts.3b5cb40175", "type": "test"}, "1606": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_block_number.930416e329", "type": "test"}, "1607": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_pool_id.2f8f15549f", "type": "test"}, "1608": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_eth_mainnet_pool_id__True__0.55f388e287", "type": "test"}, "1609": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_collateral_type.557a042f2b", "type": "test"}, "1610": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_debt.a314c480fe", "type": "test"}, "1611": {"name": "test.synthetix.not_null_core_vault_debt_eth_mainnet_contract_address.d43dcb9614", "type": "test"}, "1612": {"name": "test.synthetix.not_null_blocks_arbitrum_mainnet_block_number.60351acf6d", "type": "test"}, "1613": {"name": "test.synthetix.unique_blocks_arbitrum_mainnet_block_number.d70bece923", "type": "test"}, "1614": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_mainnet_hour__ts__1.e5882e697a", "type": "test"}, "1615": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_owner.510bc65b8e", "type": "test"}, "1616": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_account_id.80fd41e8a3", "type": "test"}, "1617": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_mainnet_account_id__True__0.1a60fd1c13", "type": "test"}, "1618": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_id.ccb85216a1", "type": "test"}, "1619": {"name": "test.synthetix.unique_core_account_created_arbitrum_mainnet_id.572cf5cf85", "type": "test"}, "1620": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_transaction_hash.ca429d274c", "type": "test"}, "1621": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_number.ad85823ab6", "type": "test"}, "1622": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_block_timestamp.707ea51d9b", "type": "test"}, "1623": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_event_name.f044350ea8", "type": "test"}, "1624": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_mainnet_event_name__AccountCreated.8d24ea0d1c", "type": "test"}, "1625": {"name": "test.synthetix.not_null_core_account_created_arbitrum_mainnet_contract.51a2890c59", "type": "test"}, "1626": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_contract.ae8a4f4c27", "type": "test"}, "1627": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_id.a1e63ca6e1", "type": "test"}, "1628": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_mainnet_id.53afc27917", "type": "test"}, "1629": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_account_id.1f6cadcc5d", "type": "test"}, "1630": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_account_id__True__0.eb3b030871", "type": "test"}, "1631": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_collateral_type.ca955a713e", "type": "test"}, "1632": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_pool_id.0fcc7a403c", "type": "test"}, "1633": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_pool_id__True__0.ceaf47901a", "type": "test"}, "1634": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_sender.7b21b54d07", "type": "test"}, "1635": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_timestamp.bf7b6f5a50", "type": "test"}, "1636": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_block_number.e7dff1a919", "type": "test"}, "1637": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_leverage.e240b1993e", "type": "test"}, "1638": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_leverage__True__1000000000000000000__1000000000000000000.fa830910e7", "type": "test"}, "1639": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_transaction_hash.df3b0b1ada", "type": "test"}, "1640": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_amount.790af0bbca", "type": "test"}, "1641": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_mainnet_amount__True__0.4dc42e5b67", "type": "test"}, "1642": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_mainnet_event_name.124ce539d9", "type": "test"}, "1643": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_mainnet_event_name__DelegationUpdated.8158a7cafc", "type": "test"}, "1644": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_collateral_type.42a3d10d97", "type": "test"}, "1645": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_id.2f7b341009", "type": "test"}, "1646": {"name": "test.synthetix.unique_core_deposited_arbitrum_mainnet_id.65592bb86d", "type": "test"}, "1647": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_contract.a2cd7b2bb5", "type": "test"}, "1648": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_event_name.8f5b81cb40", "type": "test"}, "1649": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_mainnet_event_name__Deposited.63620c995c", "type": "test"}, "1650": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_transaction_hash.649446c0bd", "type": "test"}, "1651": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_account_id.c7afbe52a5", "type": "test"}, "1652": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_account_id__True__0.2fc937f08c", "type": "test"}, "1653": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_sender.5f276242f7", "type": "test"}, "1654": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_timestamp.a16e8ef361", "type": "test"}, "1655": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_block_number.689c18351b", "type": "test"}, "1656": {"name": "test.synthetix.not_null_core_deposited_arbitrum_mainnet_token_amount.238a5119e6", "type": "test"}, "1657": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_mainnet_token_amount__True__0.825b012474", "type": "test"}, "1658": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_timestamp.0605d1994e", "type": "test"}, "1659": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_contract.a8c5968db3", "type": "test"}, "1660": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_block_number.29891eb70b", "type": "test"}, "1661": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_transaction_hash.492d634608", "type": "test"}, "1662": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_token_amount.4bc0081148", "type": "test"}, "1663": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_token_amount__True__0.0008eb5d09", "type": "test"}, "1664": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_collateral_type.772b018013", "type": "test"}, "1665": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_account_id.ccf8b71875", "type": "test"}, "1666": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_mainnet_account_id__True__0.8873db614c", "type": "test"}, "1667": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_id.46c5fcd073", "type": "test"}, "1668": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_mainnet_id.9810244f0d", "type": "test"}, "1669": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_sender.665f4ade6b", "type": "test"}, "1670": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_mainnet_event_name.69a5a9a880", "type": "test"}, "1671": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_mainnet_event_name__Withdrawn.e5deebfa14", "type": "test"}, "1672": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_pool_id.910c4e273f", "type": "test"}, "1673": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_pool_id__True__0.5d8232e38f", "type": "test"}, "1674": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_timestamp.e8b33f1dcb", "type": "test"}, "1675": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_block_number.c43f5e1404", "type": "test"}, "1676": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_id.428529a968", "type": "test"}, "1677": {"name": "test.synthetix.unique_core_liquidation_arbitrum_mainnet_id.ab79adeb33", "type": "test"}, "1678": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_contract.b02df4336b", "type": "test"}, "1679": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_event_name.c11ebbad99", "type": "test"}, "1680": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_mainnet_event_name__Liquidation.85cae70384", "type": "test"}, "1681": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_collateral_type.7eae92d91d", "type": "test"}, "1682": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_sender.de5e917bc2", "type": "test"}, "1683": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_account_id.2b9f90b003", "type": "test"}, "1684": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_account_id__True__0.71c92954dd", "type": "test"}, "1685": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_transaction_hash.7c4641c1db", "type": "test"}, "1686": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_mainnet_liquidate_as_account_id.00768ed71d", "type": "test"}, "1687": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.6ad1a29899", "type": "test"}, "1688": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_id.6634d79b97", "type": "test"}, "1689": {"name": "test.synthetix.unique_core_market_updated_arbitrum_mainnet_id.ef7b2e2622", "type": "test"}, "1690": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_timestamp.2bd177f07f", "type": "test"}, "1691": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_block_number.eea9214a4b", "type": "test"}, "1692": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_transaction_hash.9db6bb9d6b", "type": "test"}, "1693": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_contract.3ed1c1d699", "type": "test"}, "1694": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_event_name.1198969560", "type": "test"}, "1695": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6d0a34129", "type": "test"}, "1696": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_market_id.92b8458e5c", "type": "test"}, "1697": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_market_id__True__0.8e0b3e9147", "type": "test"}, "1698": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_net_issuance.016c84545c", "type": "test"}, "1699": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_deposited_collateral_value.45b375717f", "type": "test"}, "1700": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_deposited_collateral_value__True__0.f78663cae5", "type": "test"}, "1701": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_sender.fe1f2d4275", "type": "test"}, "1702": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_collateral_type.5ccd7ace00", "type": "test"}, "1703": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_credit_capacity.09c391d59d", "type": "test"}, "1704": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_mainnet_token_amount.b89be9c43a", "type": "test"}, "1705": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_mainnet_token_amount__True__0.bfc2ca181b", "type": "test"}, "1706": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market.4671a5874b", "type": "test"}, "1707": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_market_id.edc1b5f010", "type": "test"}, "1708": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_market_id.f4e9d45c5f", "type": "test"}, "1709": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_id.4c7305111a", "type": "test"}, "1710": {"name": "test.synthetix.unique_core_market_registered_arbitrum_mainnet_id.c4fce94bc5", "type": "test"}, "1711": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_timestamp.9ccff6bb17", "type": "test"}, "1712": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_contract.705a5b5579", "type": "test"}, "1713": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_transaction_hash.2e6db31571", "type": "test"}, "1714": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_block_number.49f898432d", "type": "test"}, "1715": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_event_name.5833e57631", "type": "test"}, "1716": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_mainnet_event_name__MarketRegistered.61c1a17f46", "type": "test"}, "1717": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_mainnet_sender.a9f878c2c9", "type": "test"}, "1718": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_contract.ad227a594e", "type": "test"}, "1719": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_sender.b85ac4e404", "type": "test"}, "1720": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_timestamp.4bcfbab318", "type": "test"}, "1721": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_id.b0e9e6535d", "type": "test"}, "1722": {"name": "test.synthetix.unique_core_pool_created_arbitrum_mainnet_id.4a0435d902", "type": "test"}, "1723": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_block_number.184c04858e", "type": "test"}, "1724": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_transaction_hash.762082599b", "type": "test"}, "1725": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_event_name.67b202a2ae", "type": "test"}, "1726": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_mainnet_event_name__PoolCreated.e7fda490fd", "type": "test"}, "1727": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_owner.749821fb46", "type": "test"}, "1728": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_mainnet_pool_id.ce6f3bd570", "type": "test"}, "1729": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_mainnet_pool_id__True__0.fc42e6b4ce", "type": "test"}, "1730": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_transaction_hash.b143b485c4", "type": "test"}, "1731": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_account_id.657d0a650c", "type": "test"}, "1732": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_account_id__True__0.34b4de86db", "type": "test"}, "1733": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_collateral_type.868513a78c", "type": "test"}, "1734": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_event_name.c85b97045f", "type": "test"}, "1735": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_mainnet_event_name__RewardsClaimed.3c1cd34ad1", "type": "test"}, "1736": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_contract.dbeede65a0", "type": "test"}, "1737": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_amount.b7ad8d34fd", "type": "test"}, "1738": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_amount__True__0.d98a3e4cc7", "type": "test"}, "1739": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_distributor.cfe4797061", "type": "test"}, "1740": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_timestamp.830ba4bdac", "type": "test"}, "1741": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_id.ec96b450dd", "type": "test"}, "1742": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_mainnet_id.0aa80585e9", "type": "test"}, "1743": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_pool_id.bd58480578", "type": "test"}, "1744": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_mainnet_pool_id__True__0.1c91c56a7b", "type": "test"}, "1745": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_mainnet_block_number.90a2165709", "type": "test"}, "1746": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_id.2d439b2dff", "type": "test"}, "1747": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_mainnet_id.b2d650e4fd", "type": "test"}, "1748": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_event_name.bb49accedd", "type": "test"}, "1749": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_mainnet_event_name__RewardsDistributed.3370ace359", "type": "test"}, "1750": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_amount.efe177b3e7", "type": "test"}, "1751": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_amount__True__0.09cd5040a6", "type": "test"}, "1752": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_contract.cad4a84b49", "type": "test"}, "1753": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_timestamp.b6efe37fde", "type": "test"}, "1754": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_transaction_hash.a791a80876", "type": "test"}, "1755": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_collateral_type.d8c598b114", "type": "test"}, "1756": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_block_number.4692e1b237", "type": "test"}, "1757": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_duration.8dfbbf7a51", "type": "test"}, "1758": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_duration__True__0.00212b4134", "type": "test"}, "1759": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_distributor.b8c551ebf5", "type": "test"}, "1760": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_mainnet_pool_id.06cc36de8b", "type": "test"}, "1761": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_mainnet_pool_id__True__0.d68e3c64d9", "type": "test"}, "1762": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_amount.638bb23cb6", "type": "test"}, "1763": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_amount__True__0.2bf9da99f6", "type": "test"}, "1764": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_pool_id.574d8e09b8", "type": "test"}, "1765": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_pool_id__True__0.dad5587ce6", "type": "test"}, "1766": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_event_name.2c934d7229", "type": "test"}, "1767": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_mainnet_event_name__UsdBurned.9ecdb75459", "type": "test"}, "1768": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_id.f07377da8d", "type": "test"}, "1769": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_mainnet_id.1918882dbf", "type": "test"}, "1770": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_number.9d57cfa9ee", "type": "test"}, "1771": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_account_id.c71695a669", "type": "test"}, "1772": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_mainnet_account_id__True__0.f8708303cd", "type": "test"}, "1773": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_sender.1b76ecab38", "type": "test"}, "1774": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_transaction_hash.6535b2db90", "type": "test"}, "1775": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_contract.718a1f61dd", "type": "test"}, "1776": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_collateral_type.6f8f53a6c9", "type": "test"}, "1777": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_mainnet_block_timestamp.da67490d2d", "type": "test"}, "1778": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_pool_id.4593996ffd", "type": "test"}, "1779": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_pool_id__True__0.5d700fe50b", "type": "test"}, "1780": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_timestamp.8ca5480dbc", "type": "test"}, "1781": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_account_id.9ccf9039ea", "type": "test"}, "1782": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_account_id__True__0.6487cbbb70", "type": "test"}, "1783": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_collateral_type.0129f350e1", "type": "test"}, "1784": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_block_number.2c3c8fc1e5", "type": "test"}, "1785": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_id.3157330f1c", "type": "test"}, "1786": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_mainnet_id.557dbdade9", "type": "test"}, "1787": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_sender.829a4593b0", "type": "test"}, "1788": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_amount.f37a3a83d0", "type": "test"}, "1789": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_mainnet_amount__True__0.9400183d7a", "type": "test"}, "1790": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_event_name.8c280cde80", "type": "test"}, "1791": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_mainnet_event_name__UsdMinted.cb75bc5dc7", "type": "test"}, "1792": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_transaction_hash.74c68bc07e", "type": "test"}, "1793": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_mainnet_contract.317c6e89d1", "type": "test"}, "1794": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_transaction_hash.5da9d8cd8f", "type": "test"}, "1795": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_collateral_type.ba4823f6ed", "type": "test"}, "1796": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_pool_id.f9e6978af1", "type": "test"}, "1797": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_pool_id__True__0.c4b79598cb", "type": "test"}, "1798": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_event_name.fcb481b7e9", "type": "test"}, "1799": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_mainnet_event_name__VaultLiquidation.429345a118", "type": "test"}, "1800": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_id.c7ac33a6c3", "type": "test"}, "1801": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_mainnet_id.3f5a30c375", "type": "test"}, "1802": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_timestamp.3054b6aeaa", "type": "test"}, "1803": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id.5e1fa876a7", "type": "test"}, "1804": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_mainnet_liquidate_as_account_id__True__0.c9be297afd", "type": "test"}, "1805": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_liquidation_data.2555b245ad", "type": "test"}, "1806": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_contract.625029e21f", "type": "test"}, "1807": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_block_number.1dc8ebaf67", "type": "test"}, "1808": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_mainnet_sender.d35f8c0cc2", "type": "test"}, "1809": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_ts.d7d74011cb", "type": "test"}, "1810": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_block_number.5a68e5a2c2", "type": "test"}, "1811": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_pool_id.4536274374", "type": "test"}, "1812": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_pool_id__True__0.14e1d9edc3", "type": "test"}, "1813": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_type.50f0a76c9d", "type": "test"}, "1814": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_amount.0bdb85ef31", "type": "test"}, "1815": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_amount__True__0.b98dc30014", "type": "test"}, "1816": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_collateral_value.09fcd07f3a", "type": "test"}, "1817": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_mainnet_collateral_value__True__0.9fa49aae71", "type": "test"}, "1818": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_mainnet_contract_address.8cc08e1bbc", "type": "test"}, "1819": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_ts.d2363d0b7d", "type": "test"}, "1820": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_block_number.3ef5dfaa45", "type": "test"}, "1821": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_pool_id.8f94082342", "type": "test"}, "1822": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_mainnet_pool_id__True__0.8e3a2c72e9", "type": "test"}, "1823": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_collateral_type.f9fb1089d7", "type": "test"}, "1824": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_debt.7a33d30f43", "type": "test"}, "1825": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_mainnet_contract_address.fee8a6440d", "type": "test"}, "1826": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_id.2bedbed49c", "type": "test"}, "1827": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_mainnet_id.715535831f", "type": "test"}, "1828": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_event_name.364a2ed7fd", "type": "test"}, "1829": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_mainnet_event_name__OrderCommitted.e30a77b9b3", "type": "test"}, "1830": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_sender.d7cbd6bc05", "type": "test"}, "1831": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_timestamp.a4f827fd66", "type": "test"}, "1832": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_referrer.23dc146929", "type": "test"}, "1833": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_amount_provided.618d749652", "type": "test"}, "1834": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_amount_provided__True__0.a0c5711e24", "type": "test"}, "1835": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_transaction_hash.47ac362f75", "type": "test"}, "1836": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_contract.1d73e820e2", "type": "test"}, "1837": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_market_id.eb267aefe6", "type": "test"}, "1838": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_mainnet_market_id__True__0.fcb0bd480c", "type": "test"}, "1839": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_block_number.bbd3030ffd", "type": "test"}, "1840": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_mainnet_order_type.9bedf0c3bc", "type": "test"}, "1841": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_final_order_amount__True__0.d78aeda819", "type": "test"}, "1842": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_settler.2f85667062", "type": "test"}, "1843": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_number.876a0a0282", "type": "test"}, "1844": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_transaction_hash.a8b7f93ae5", "type": "test"}, "1845": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_block_timestamp.483fdb2a21", "type": "test"}, "1846": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_id.1124fb8990", "type": "test"}, "1847": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_mainnet_id.a1ec7e590f", "type": "test"}, "1848": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_order_type.cc9846cfde", "type": "test"}, "1849": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_contract.7d4f904249", "type": "test"}, "1850": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_price.3e2897303c", "type": "test"}, "1851": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_price__True__0.94dec93a68", "type": "test"}, "1852": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_market_id.84635206a3", "type": "test"}, "1853": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_market_id__True__0.498546554e", "type": "test"}, "1854": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_collected_fees.4c46cfb386", "type": "test"}, "1855": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_mainnet_collected_fees__True__0.e9fce02c77", "type": "test"}, "1856": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_mainnet_event_name.32a64f7398", "type": "test"}, "1857": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_mainnet_event_name__OrderSettled.c43865614e", "type": "test"}, "1858": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_id.bf2929fb2c", "type": "test"}, "1859": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_mainnet_id.de40647c46", "type": "test"}, "1860": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_timestamp.a2656a614b", "type": "test"}, "1861": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_transaction_hash.43ee88aad5", "type": "test"}, "1862": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_sender.a796a774d3", "type": "test"}, "1863": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_contract.cc9a04e73e", "type": "test"}, "1864": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_event_name.f29a2c6180", "type": "test"}, "1865": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_mainnet_event_name__OrderCancelled.bcb12d7741", "type": "test"}, "1866": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_market_id.629e55a158", "type": "test"}, "1867": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_mainnet_market_id__True__0.8d08288d1d", "type": "test"}, "1868": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_mainnet_block_number.a85db0bd00", "type": "test"}, "1869": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_id.456af96984", "type": "test"}, "1870": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_mainnet_id.d4fd9eb0ba", "type": "test"}, "1871": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_timestamp.155e02a96a", "type": "test"}, "1872": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_market_id.b02a502d7f", "type": "test"}, "1873": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_mainnet_synth_market_id__True__0.03490626a4", "type": "test"}, "1874": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_block_number.c19306427b", "type": "test"}, "1875": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_contract.dc09abd1d6", "type": "test"}, "1876": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_synth_token_address.e815b8c9d4", "type": "test"}, "1877": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_event_name.aa6a178336", "type": "test"}, "1878": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_mainnet_event_name__SynthRegistered.dab3843a60", "type": "test"}, "1879": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_mainnet_transaction_hash.ae02976291", "type": "test"}, "1880": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_collected_fees.975bb20444", "type": "test"}, "1881": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_collected_fees__True__0.ffa72f24d6", "type": "test"}, "1882": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_transaction_hash.46c5786b65", "type": "test"}, "1883": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_synth_market_id.11b8c58586", "type": "test"}, "1884": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_synth_market_id__True__0.39b07cbd1a", "type": "test"}, "1885": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_number.3db00f8fd2", "type": "test"}, "1886": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_block_timestamp.1e3c9accd9", "type": "test"}, "1887": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_id.94c6a2689e", "type": "test"}, "1888": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_mainnet_id.97a98f064e", "type": "test"}, "1889": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_price.b7069dc105", "type": "test"}, "1890": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_mainnet_price__True__0.2666787a3a", "type": "test"}, "1891": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_contract.7f6d914e0b", "type": "test"}, "1892": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_referrer.d5123874c5", "type": "test"}, "1893": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_mainnet_event_name.aa51f8b10f", "type": "test"}, "1894": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_mainnet_event_name__SynthBought.6968f2e38e", "type": "test"}, "1895": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_event_name.77e48ea6b8", "type": "test"}, "1896": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_mainnet_event_name__SynthSold.c2779b95d3", "type": "test"}, "1897": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_transaction_hash.b35ac6eb10", "type": "test"}, "1898": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_collected_fees.ae5a9854f2", "type": "test"}, "1899": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_collected_fees__True__0.ebed4cb6c6", "type": "test"}, "1900": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_timestamp.ece96724ff", "type": "test"}, "1901": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_referrer.fc97629e01", "type": "test"}, "1902": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_block_number.21c8144aca", "type": "test"}, "1903": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_price.83b6e6b427", "type": "test"}, "1904": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_price__True__0.736ec6a18f", "type": "test"}, "1905": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_amount_returned.a22fe1e87b", "type": "test"}, "1906": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_amount_returned__True__0.94e383949d", "type": "test"}, "1907": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_synth_market_id.0a9309e0fe", "type": "test"}, "1908": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_mainnet_synth_market_id__True__0.502a7c73ae", "type": "test"}, "1909": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_id.5672923066", "type": "test"}, "1910": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_mainnet_id.77e9d1569f", "type": "test"}, "1911": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_mainnet_contract.7e747f7197", "type": "test"}, "1912": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_id.e6be3c26ab", "type": "test"}, "1913": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_mainnet_id.4240a5b9ed", "type": "test"}, "1914": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_transaction_hash.470b375862", "type": "test"}, "1915": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_synth_market_id.22e9bbcaaf", "type": "test"}, "1916": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_synth_market_id__True__0.69e1aef58d", "type": "test"}, "1917": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_contract.12b8537d63", "type": "test"}, "1918": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_event_name.a537b3bcc9", "type": "test"}, "1919": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_mainnet_event_name__SynthWrapped.c2a7fae75f", "type": "test"}, "1920": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_timestamp.62e5fb2f2c", "type": "test"}, "1921": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_block_number.388f222586", "type": "test"}, "1922": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_mainnet_fees_collected.ab1cc1a24e", "type": "test"}, "1923": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_mainnet_fees_collected__True__0.8427a98042", "type": "test"}, "1924": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_timestamp.7eb830695e", "type": "test"}, "1925": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped.6338d14461", "type": "test"}, "1926": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_amount_unwrapped__True__0.dfb2bf555e", "type": "test"}, "1927": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_fees_collected.82edb6c70c", "type": "test"}, "1928": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_fees_collected__True__0.caa0ab5069", "type": "test"}, "1929": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_event_name.15be4b2d2e", "type": "test"}, "1930": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_mainnet_event_name__SynthUnwrapped.0156eda083", "type": "test"}, "1931": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_block_number.6c4594ed9b", "type": "test"}, "1932": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_transaction_hash.266bb54277", "type": "test"}, "1933": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_contract.df671e35b9", "type": "test"}, "1934": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_id.c93a8c455f", "type": "test"}, "1935": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_mainnet_id.81790072c1", "type": "test"}, "1936": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id.597a45b266", "type": "test"}, "1937": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_mainnet_synth_market_id__True__0.c8e2a0ce2e", "type": "test"}, "1938": {"name": "test.synthetix.not_null_blocks_arbitrum_sepolia_block_number.73833a1893", "type": "test"}, "1939": {"name": "test.synthetix.unique_blocks_arbitrum_sepolia_block_number.4c474d2bd5", "type": "test"}, "1940": {"name": "test.synthetix.dbt_utils_recency_blocks_arbitrum_sepolia_hour__ts__1.8a321a2874", "type": "test"}, "1941": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_owner.9aad095481", "type": "test"}, "1942": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_account_id.7a98480d2d", "type": "test"}, "1943": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_arbitrum_sepolia_account_id__True__0.2ee2f4ab2f", "type": "test"}, "1944": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_id.07253fa9ea", "type": "test"}, "1945": {"name": "test.synthetix.unique_core_account_created_arbitrum_sepolia_id.f9001194ee", "type": "test"}, "1946": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_transaction_hash.59070c07aa", "type": "test"}, "1947": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_number.1841c44bbb", "type": "test"}, "1948": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_block_timestamp.74d0052bed", "type": "test"}, "1949": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_event_name.8db7179ccc", "type": "test"}, "1950": {"name": "test.synthetix.accepted_values_core_account_created_arbitrum_sepolia_event_name__AccountCreated.f6de61acf3", "type": "test"}, "1951": {"name": "test.synthetix.not_null_core_account_created_arbitrum_sepolia_contract.c63e7e4dbf", "type": "test"}, "1952": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_contract.8f08a5a9da", "type": "test"}, "1953": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_id.12fb857e85", "type": "test"}, "1954": {"name": "test.synthetix.unique_core_delegation_updated_arbitrum_sepolia_id.beef769010", "type": "test"}, "1955": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_account_id.689f7da996", "type": "test"}, "1956": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_account_id__True__0.ead58dff29", "type": "test"}, "1957": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_collateral_type.db67498e80", "type": "test"}, "1958": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_pool_id.8f59052242", "type": "test"}, "1959": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_pool_id__True__0.f9aeca9f9a", "type": "test"}, "1960": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_sender.ef3937b25b", "type": "test"}, "1961": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_timestamp.ae4bac2433", "type": "test"}, "1962": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_block_number.fa4a36eaeb", "type": "test"}, "1963": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_leverage.d5bd156a6e", "type": "test"}, "1964": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_leverage__True__1000000000000000000__1000000000000000000.5ff8a67507", "type": "test"}, "1965": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_transaction_hash.8199cb0155", "type": "test"}, "1966": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_amount.77ddc8625f", "type": "test"}, "1967": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_arbitrum_sepolia_amount__True__0.aefd73a62f", "type": "test"}, "1968": {"name": "test.synthetix.not_null_core_delegation_updated_arbitrum_sepolia_event_name.4d0a81b0f4", "type": "test"}, "1969": {"name": "test.synthetix.accepted_values_core_delegation_updated_arbitrum_sepolia_event_name__DelegationUpdated.46889d7476", "type": "test"}, "1970": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_collateral_type.88d590c5ca", "type": "test"}, "1971": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_id.7d3846b9e3", "type": "test"}, "1972": {"name": "test.synthetix.unique_core_deposited_arbitrum_sepolia_id.9f22c1a15e", "type": "test"}, "1973": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_contract.98776e9523", "type": "test"}, "1974": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_event_name.ca52f6033b", "type": "test"}, "1975": {"name": "test.synthetix.accepted_values_core_deposited_arbitrum_sepolia_event_name__Deposited.1c0d375890", "type": "test"}, "1976": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_transaction_hash.8084f934a8", "type": "test"}, "1977": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_account_id.0850a5cdd2", "type": "test"}, "1978": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_account_id__True__0.d3287e563c", "type": "test"}, "1979": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_sender.2aeec9aec1", "type": "test"}, "1980": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_timestamp.423f2e9f55", "type": "test"}, "1981": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_block_number.c3036ab47e", "type": "test"}, "1982": {"name": "test.synthetix.not_null_core_deposited_arbitrum_sepolia_token_amount.653e14e03e", "type": "test"}, "1983": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_arbitrum_sepolia_token_amount__True__0.0f0aa65236", "type": "test"}, "1984": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_timestamp.7fcd8e34b4", "type": "test"}, "1985": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_contract.7095f79cd5", "type": "test"}, "1986": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_block_number.fb2901f9b9", "type": "test"}, "1987": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_transaction_hash.a4480fb9e0", "type": "test"}, "1988": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_token_amount.df20ce27b8", "type": "test"}, "1989": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_token_amount__True__0.0301b264d6", "type": "test"}, "1990": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_collateral_type.462d8e9d4a", "type": "test"}, "1991": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_account_id.93a7f1c6e0", "type": "test"}, "1992": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_arbitrum_sepolia_account_id__True__0.d4050dde67", "type": "test"}, "1993": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_id.bdd65cec2b", "type": "test"}, "1994": {"name": "test.synthetix.unique_core_withdrawn_arbitrum_sepolia_id.3f0503a510", "type": "test"}, "1995": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_sender.b2d53e6596", "type": "test"}, "1996": {"name": "test.synthetix.not_null_core_withdrawn_arbitrum_sepolia_event_name.6e275cf97d", "type": "test"}, "1997": {"name": "test.synthetix.accepted_values_core_withdrawn_arbitrum_sepolia_event_name__Withdrawn.cd07ab25e2", "type": "test"}, "1998": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_pool_id.851303c6c6", "type": "test"}, "1999": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_pool_id__True__0.d1a4bd0579", "type": "test"}, "2000": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_timestamp.2b65fcd144", "type": "test"}, "2001": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_block_number.28a164853c", "type": "test"}, "2002": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_id.acb7c881c1", "type": "test"}, "2003": {"name": "test.synthetix.unique_core_liquidation_arbitrum_sepolia_id.7489e81022", "type": "test"}, "2004": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_contract.b3848813ec", "type": "test"}, "2005": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_event_name.6dff9cd9a5", "type": "test"}, "2006": {"name": "test.synthetix.accepted_values_core_liquidation_arbitrum_sepolia_event_name__Liquidation.32c120b3b8", "type": "test"}, "2007": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_collateral_type.611a474b69", "type": "test"}, "2008": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_sender.b1951bbf59", "type": "test"}, "2009": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_account_id.2f2251c90a", "type": "test"}, "2010": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_account_id__True__0.fa367d1bc5", "type": "test"}, "2011": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_transaction_hash.aa34dc1b7f", "type": "test"}, "2012": {"name": "test.synthetix.not_null_core_liquidation_arbitrum_sepolia_liquidate_as_account_id.8fb362bd59", "type": "test"}, "2013": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.aa641f64fe", "type": "test"}, "2014": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_id.087024faa4", "type": "test"}, "2015": {"name": "test.synthetix.unique_core_market_updated_arbitrum_sepolia_id.7ed403a10d", "type": "test"}, "2016": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_timestamp.f0ccbe740a", "type": "test"}, "2017": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_block_number.18b9e7bff4", "type": "test"}, "2018": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_transaction_hash.697e3dd319", "type": "test"}, "2019": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_contract.925fa67624", "type": "test"}, "2020": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_event_name.07d4bde491", "type": "test"}, "2021": {"name": "test.synthetix.accepted_values_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.4a106f8344", "type": "test"}, "2022": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_market_id.4d2767c0b4", "type": "test"}, "2023": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_market_id__True__0.f774945861", "type": "test"}, "2024": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_net_issuance.ab387b275f", "type": "test"}, "2025": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_deposited_collateral_value.2a9afd7205", "type": "test"}, "2026": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_deposited_collateral_value__True__0.bb2ac3f8fc", "type": "test"}, "2027": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_sender.b4216822d2", "type": "test"}, "2028": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_collateral_type.0163e724c2", "type": "test"}, "2029": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_credit_capacity.ed07eaef21", "type": "test"}, "2030": {"name": "test.synthetix.not_null_core_market_updated_arbitrum_sepolia_token_amount.e980630f1e", "type": "test"}, "2031": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_arbitrum_sepolia_token_amount__True__0.33dea408c4", "type": "test"}, "2032": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market.67fc30dc60", "type": "test"}, "2033": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_market_id.c742aae1d0", "type": "test"}, "2034": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_market_id.78637df31f", "type": "test"}, "2035": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_id.88f5db38d2", "type": "test"}, "2036": {"name": "test.synthetix.unique_core_market_registered_arbitrum_sepolia_id.5964f1fbf3", "type": "test"}, "2037": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_timestamp.fa45bb6a23", "type": "test"}, "2038": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_contract.8d5b49ae4d", "type": "test"}, "2039": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_transaction_hash.9904023035", "type": "test"}, "2040": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_block_number.94a8562b13", "type": "test"}, "2041": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_event_name.72e398dd82", "type": "test"}, "2042": {"name": "test.synthetix.accepted_values_core_market_registered_arbitrum_sepolia_event_name__MarketRegistered.0d43228789", "type": "test"}, "2043": {"name": "test.synthetix.not_null_core_market_registered_arbitrum_sepolia_sender.f940ee9c3a", "type": "test"}, "2044": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_contract.bd9da8f8fc", "type": "test"}, "2045": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_sender.999d6ba1d5", "type": "test"}, "2046": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_timestamp.fd0d1a2266", "type": "test"}, "2047": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_id.2ecf600861", "type": "test"}, "2048": {"name": "test.synthetix.unique_core_pool_created_arbitrum_sepolia_id.520ef444f0", "type": "test"}, "2049": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_block_number.28a66d0e74", "type": "test"}, "2050": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_transaction_hash.09e0ac3340", "type": "test"}, "2051": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_event_name.9148e96626", "type": "test"}, "2052": {"name": "test.synthetix.accepted_values_core_pool_created_arbitrum_sepolia_event_name__PoolCreated.d04166c685", "type": "test"}, "2053": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_owner.980ce0b630", "type": "test"}, "2054": {"name": "test.synthetix.not_null_core_pool_created_arbitrum_sepolia_pool_id.1fccbc8d94", "type": "test"}, "2055": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_arbitrum_sepolia_pool_id__True__0.d3bc479935", "type": "test"}, "2056": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_transaction_hash.680f286a1c", "type": "test"}, "2057": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_account_id.f2bf56343c", "type": "test"}, "2058": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_account_id__True__0.931fbcf6dd", "type": "test"}, "2059": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_collateral_type.d2183c9d15", "type": "test"}, "2060": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_event_name.a3f0d6ec61", "type": "test"}, "2061": {"name": "test.synthetix.accepted_values_core_rewards_claimed_arbitrum_sepolia_event_name__RewardsClaimed.34f660416a", "type": "test"}, "2062": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_contract.d436fcb4ac", "type": "test"}, "2063": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_amount.c69c35b9b1", "type": "test"}, "2064": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_amount__True__0.4bdbe43c5e", "type": "test"}, "2065": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_distributor.3f6ad9aa55", "type": "test"}, "2066": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_timestamp.b87721cc33", "type": "test"}, "2067": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_id.9a1c133f3b", "type": "test"}, "2068": {"name": "test.synthetix.unique_core_rewards_claimed_arbitrum_sepolia_id.f24f1c4553", "type": "test"}, "2069": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_pool_id.a883be69bc", "type": "test"}, "2070": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_arbitrum_sepolia_pool_id__True__0.8b433a3bc6", "type": "test"}, "2071": {"name": "test.synthetix.not_null_core_rewards_claimed_arbitrum_sepolia_block_number.9a6d0e0806", "type": "test"}, "2072": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_id.4fea69e81a", "type": "test"}, "2073": {"name": "test.synthetix.unique_core_rewards_distributed_arbitrum_sepolia_id.728eef2ccb", "type": "test"}, "2074": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_event_name.1803af1787", "type": "test"}, "2075": {"name": "test.synthetix.accepted_values_core_rewards_distributed_arbitrum_sepolia_event_name__RewardsDistributed.94958bacc6", "type": "test"}, "2076": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_amount.8682e416ae", "type": "test"}, "2077": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_amount__True__0.a57935c0b7", "type": "test"}, "2078": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_contract.7bb7fd8da4", "type": "test"}, "2079": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_timestamp.b3adafb4cf", "type": "test"}, "2080": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_transaction_hash.2ae04c7450", "type": "test"}, "2081": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_collateral_type.099d0e256e", "type": "test"}, "2082": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_block_number.5fbc655c9b", "type": "test"}, "2083": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_duration.a042625996", "type": "test"}, "2084": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_duration__True__0.905006d2f0", "type": "test"}, "2085": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_distributor.f184171df4", "type": "test"}, "2086": {"name": "test.synthetix.not_null_core_rewards_distributed_arbitrum_sepolia_pool_id.4ae694bfec", "type": "test"}, "2087": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_arbitrum_sepolia_pool_id__True__0.4ca72a296c", "type": "test"}, "2088": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_amount.6baf89b24c", "type": "test"}, "2089": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_amount__True__0.048d31e429", "type": "test"}, "2090": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_pool_id.7bf8dd6882", "type": "test"}, "2091": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_pool_id__True__0.d19a9e58b9", "type": "test"}, "2092": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_event_name.2334208293", "type": "test"}, "2093": {"name": "test.synthetix.accepted_values_core_usd_burned_arbitrum_sepolia_event_name__UsdBurned.82b5e1f839", "type": "test"}, "2094": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_id.a9d148b478", "type": "test"}, "2095": {"name": "test.synthetix.unique_core_usd_burned_arbitrum_sepolia_id.65a6dbfca4", "type": "test"}, "2096": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_number.a36a988eb1", "type": "test"}, "2097": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_account_id.620cecde52", "type": "test"}, "2098": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_arbitrum_sepolia_account_id__True__0.2bc68923f9", "type": "test"}, "2099": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_sender.e732504915", "type": "test"}, "2100": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_transaction_hash.91ab5b1d0b", "type": "test"}, "2101": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_contract.91add9f346", "type": "test"}, "2102": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_collateral_type.9bcf375dc5", "type": "test"}, "2103": {"name": "test.synthetix.not_null_core_usd_burned_arbitrum_sepolia_block_timestamp.5bcc977f3d", "type": "test"}, "2104": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_pool_id.41123c7a06", "type": "test"}, "2105": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_pool_id__True__0.ae99bd6ea3", "type": "test"}, "2106": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_timestamp.baa0ed9288", "type": "test"}, "2107": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_account_id.e8dbb7db41", "type": "test"}, "2108": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_account_id__True__0.3ae041bf59", "type": "test"}, "2109": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_collateral_type.36a06f20c5", "type": "test"}, "2110": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_block_number.3319b5e432", "type": "test"}, "2111": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_id.07b94c915b", "type": "test"}, "2112": {"name": "test.synthetix.unique_core_usd_minted_arbitrum_sepolia_id.d868aed363", "type": "test"}, "2113": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_sender.b183e1c56f", "type": "test"}, "2114": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_amount.cd18eb6390", "type": "test"}, "2115": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_arbitrum_sepolia_amount__True__0.e93e8d1936", "type": "test"}, "2116": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_event_name.b210011389", "type": "test"}, "2117": {"name": "test.synthetix.accepted_values_core_usd_minted_arbitrum_sepolia_event_name__UsdMinted.5fd40cc553", "type": "test"}, "2118": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_transaction_hash.38f21551fd", "type": "test"}, "2119": {"name": "test.synthetix.not_null_core_usd_minted_arbitrum_sepolia_contract.71d9365153", "type": "test"}, "2120": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_transaction_hash.6b1e45b06a", "type": "test"}, "2121": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_collateral_type.0b2d659b09", "type": "test"}, "2122": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_pool_id.c0c0a011c4", "type": "test"}, "2123": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_pool_id__True__0.6022175c23", "type": "test"}, "2124": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_event_name.6ee4c7edec", "type": "test"}, "2125": {"name": "test.synthetix.accepted_values_core_vault_liquidation_arbitrum_sepolia_event_name__VaultLiquidation.0c7e403f1c", "type": "test"}, "2126": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_id.e478906cc0", "type": "test"}, "2127": {"name": "test.synthetix.unique_core_vault_liquidation_arbitrum_sepolia_id.39f25ec5ad", "type": "test"}, "2128": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_timestamp.3f8fcf20ee", "type": "test"}, "2129": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id.557d546c5f", "type": "test"}, "2130": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_arbitrum_sepolia_liquidate_as_account_id__True__0.8896409533", "type": "test"}, "2131": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_liquidation_data.0e7de46ea6", "type": "test"}, "2132": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_contract.2bb4203c78", "type": "test"}, "2133": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_block_number.fbedd6aa28", "type": "test"}, "2134": {"name": "test.synthetix.not_null_core_vault_liquidation_arbitrum_sepolia_sender.e33149c915", "type": "test"}, "2135": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_ts.74e3fe431f", "type": "test"}, "2136": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_block_number.7c4c28bc6d", "type": "test"}, "2137": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_pool_id.11828e6701", "type": "test"}, "2138": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_pool_id__True__0.99b4d66658", "type": "test"}, "2139": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_type.c23ed9827f", "type": "test"}, "2140": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_amount.e85fb4a97b", "type": "test"}, "2141": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_amount__True__0.ceaca21b1b", "type": "test"}, "2142": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_collateral_value.77882c9c22", "type": "test"}, "2143": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_arbitrum_sepolia_collateral_value__True__0.5e64981616", "type": "test"}, "2144": {"name": "test.synthetix.not_null_core_vault_collateral_arbitrum_sepolia_contract_address.d90d5e4d47", "type": "test"}, "2145": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_ts.6259a43e83", "type": "test"}, "2146": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_block_number.39b83b17e0", "type": "test"}, "2147": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_pool_id.3d27f2e067", "type": "test"}, "2148": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_arbitrum_sepolia_pool_id__True__0.6a7fea5bbc", "type": "test"}, "2149": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_collateral_type.c136eaeaa7", "type": "test"}, "2150": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_debt.13e23e52e8", "type": "test"}, "2151": {"name": "test.synthetix.not_null_core_vault_debt_arbitrum_sepolia_contract_address.7162b1bbad", "type": "test"}, "2152": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_id.3dc77e7585", "type": "test"}, "2153": {"name": "test.synthetix.unique_spot_order_committed_arbitrum_sepolia_id.7dddd93b21", "type": "test"}, "2154": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_event_name.10fb9fe2fd", "type": "test"}, "2155": {"name": "test.synthetix.accepted_values_spot_order_committed_arbitrum_sepolia_event_name__OrderCommitted.48f82592c2", "type": "test"}, "2156": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_sender.6665c965c9", "type": "test"}, "2157": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_timestamp.053b915e14", "type": "test"}, "2158": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_referrer.3934248ab9", "type": "test"}, "2159": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_amount_provided.b4fbc53f60", "type": "test"}, "2160": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_amount_provided__True__0.e297093a69", "type": "test"}, "2161": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_transaction_hash.44fbdb881f", "type": "test"}, "2162": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_contract.8724d32b95", "type": "test"}, "2163": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_market_id.4600734bce", "type": "test"}, "2164": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_arbitrum_sepolia_market_id__True__0.156852fc84", "type": "test"}, "2165": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_block_number.e402f23638", "type": "test"}, "2166": {"name": "test.synthetix.not_null_spot_order_committed_arbitrum_sepolia_order_type.cfe77ca9a2", "type": "test"}, "2167": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_final_order_amount__True__0.976f3b49e5", "type": "test"}, "2168": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_settler.709cf86f6a", "type": "test"}, "2169": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_number.f4d15aa1c6", "type": "test"}, "2170": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_transaction_hash.e39d83aa1f", "type": "test"}, "2171": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_block_timestamp.4104ea8ae8", "type": "test"}, "2172": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_id.61da8ff5ef", "type": "test"}, "2173": {"name": "test.synthetix.unique_spot_order_settled_arbitrum_sepolia_id.fce4a382d0", "type": "test"}, "2174": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_order_type.ce3ce512a2", "type": "test"}, "2175": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_contract.2b0e9ad75a", "type": "test"}, "2176": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_price.1a44fe5106", "type": "test"}, "2177": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_price__True__0.6c6c67c752", "type": "test"}, "2178": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_market_id.d28592e51d", "type": "test"}, "2179": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_market_id__True__0.6880f35b4a", "type": "test"}, "2180": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_collected_fees.1010c0a5f8", "type": "test"}, "2181": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_arbitrum_sepolia_collected_fees__True__0.43d000a1f2", "type": "test"}, "2182": {"name": "test.synthetix.not_null_spot_order_settled_arbitrum_sepolia_event_name.51feaa1c12", "type": "test"}, "2183": {"name": "test.synthetix.accepted_values_spot_order_settled_arbitrum_sepolia_event_name__OrderSettled.3825809881", "type": "test"}, "2184": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_id.8e031ca154", "type": "test"}, "2185": {"name": "test.synthetix.unique_spot_order_cancelled_arbitrum_sepolia_id.463daca854", "type": "test"}, "2186": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_timestamp.5b304e425f", "type": "test"}, "2187": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_transaction_hash.7bc3d70f6e", "type": "test"}, "2188": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_sender.dd378adc77", "type": "test"}, "2189": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_contract.b838860ee1", "type": "test"}, "2190": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_event_name.e938eb2758", "type": "test"}, "2191": {"name": "test.synthetix.accepted_values_spot_order_cancelled_arbitrum_sepolia_event_name__OrderCancelled.7763c43292", "type": "test"}, "2192": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_market_id.d248c77fa3", "type": "test"}, "2193": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_arbitrum_sepolia_market_id__True__0.047630938a", "type": "test"}, "2194": {"name": "test.synthetix.not_null_spot_order_cancelled_arbitrum_sepolia_block_number.6b3267b9d4", "type": "test"}, "2195": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_id.ae9e680918", "type": "test"}, "2196": {"name": "test.synthetix.unique_spot_synth_registered_arbitrum_sepolia_id.a09499cc92", "type": "test"}, "2197": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_timestamp.8ad856419d", "type": "test"}, "2198": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_market_id.41d8ffc96a", "type": "test"}, "2199": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_arbitrum_sepolia_synth_market_id__True__0.adc193de63", "type": "test"}, "2200": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_block_number.e17831aecf", "type": "test"}, "2201": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_contract.13305b5b4f", "type": "test"}, "2202": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_synth_token_address.30dd706c48", "type": "test"}, "2203": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_event_name.5caf84c585", "type": "test"}, "2204": {"name": "test.synthetix.accepted_values_spot_synth_registered_arbitrum_sepolia_event_name__SynthRegistered.66b8fe9ef2", "type": "test"}, "2205": {"name": "test.synthetix.not_null_spot_synth_registered_arbitrum_sepolia_transaction_hash.211b9e6913", "type": "test"}, "2206": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_collected_fees.32235682bf", "type": "test"}, "2207": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_collected_fees__True__0.e69ec41d5e", "type": "test"}, "2208": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_transaction_hash.b57c5b3476", "type": "test"}, "2209": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_synth_market_id.92397dca4f", "type": "test"}, "2210": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_synth_market_id__True__0.869a31cec1", "type": "test"}, "2211": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_number.1414f728f0", "type": "test"}, "2212": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_block_timestamp.af0cba6258", "type": "test"}, "2213": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_id.ed20008417", "type": "test"}, "2214": {"name": "test.synthetix.unique_spot_synth_bought_arbitrum_sepolia_id.3ade424d59", "type": "test"}, "2215": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_price.9dde4ea814", "type": "test"}, "2216": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_arbitrum_sepolia_price__True__0.d95f1532c7", "type": "test"}, "2217": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_contract.2c9cdafac9", "type": "test"}, "2218": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_referrer.c39eda4686", "type": "test"}, "2219": {"name": "test.synthetix.not_null_spot_synth_bought_arbitrum_sepolia_event_name.a810bafafd", "type": "test"}, "2220": {"name": "test.synthetix.accepted_values_spot_synth_bought_arbitrum_sepolia_event_name__SynthBought.134dc8cabd", "type": "test"}, "2221": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_event_name.333367310e", "type": "test"}, "2222": {"name": "test.synthetix.accepted_values_spot_synth_sold_arbitrum_sepolia_event_name__SynthSold.fe13707237", "type": "test"}, "2223": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_transaction_hash.da63dad649", "type": "test"}, "2224": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_collected_fees.0c503232cc", "type": "test"}, "2225": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_collected_fees__True__0.18ef00cae1", "type": "test"}, "2226": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_timestamp.5734b00c78", "type": "test"}, "2227": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_referrer.31558bcae3", "type": "test"}, "2228": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_block_number.9eb624134f", "type": "test"}, "2229": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_price.1a5abe8024", "type": "test"}, "2230": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_price__True__0.9416491d1c", "type": "test"}, "2231": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_amount_returned.31fa2e2854", "type": "test"}, "2232": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_amount_returned__True__0.491570b785", "type": "test"}, "2233": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_synth_market_id.2629bdcd49", "type": "test"}, "2234": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_arbitrum_sepolia_synth_market_id__True__0.2196afe46e", "type": "test"}, "2235": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_id.415e7f2126", "type": "test"}, "2236": {"name": "test.synthetix.unique_spot_synth_sold_arbitrum_sepolia_id.dd4ab72a64", "type": "test"}, "2237": {"name": "test.synthetix.not_null_spot_synth_sold_arbitrum_sepolia_contract.d5f31e0816", "type": "test"}, "2238": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_id.ec9012b5a4", "type": "test"}, "2239": {"name": "test.synthetix.unique_spot_synth_wrapped_arbitrum_sepolia_id.25ef0efbd8", "type": "test"}, "2240": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_transaction_hash.60e01a101a", "type": "test"}, "2241": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_synth_market_id.f1fccfdd91", "type": "test"}, "2242": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_synth_market_id__True__0.ca19b05f78", "type": "test"}, "2243": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_contract.410ac0c77b", "type": "test"}, "2244": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_event_name.e16041e32c", "type": "test"}, "2245": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_arbitrum_sepolia_event_name__SynthWrapped.a482cbf84f", "type": "test"}, "2246": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_timestamp.cc2e2e7857", "type": "test"}, "2247": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_block_number.c861cf7b58", "type": "test"}, "2248": {"name": "test.synthetix.not_null_spot_synth_wrapped_arbitrum_sepolia_fees_collected.8c22c01d20", "type": "test"}, "2249": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_arbitrum_sepolia_fees_collected__True__0.9f8402c770", "type": "test"}, "2250": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_timestamp.2897aa2af1", "type": "test"}, "2251": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped.4d83dd17da", "type": "test"}, "2252": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_amount_unwrapped__True__0.2d01453854", "type": "test"}, "2253": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_fees_collected.342d8ecaba", "type": "test"}, "2254": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_fees_collected__True__0.f01b734c27", "type": "test"}, "2255": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_event_name.e2e470100a", "type": "test"}, "2256": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_arbitrum_sepolia_event_name__SynthUnwrapped.20624d41fd", "type": "test"}, "2257": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_block_number.bfaa7aabea", "type": "test"}, "2258": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_transaction_hash.5b5d8f1737", "type": "test"}, "2259": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_contract.9a67446eba", "type": "test"}, "2260": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_id.885fac7a78", "type": "test"}, "2261": {"name": "test.synthetix.unique_spot_synth_unwrapped_arbitrum_sepolia_id.5985d5d1de", "type": "test"}, "2262": {"name": "test.synthetix.not_null_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id.0f2f845893", "type": "test"}, "2263": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_arbitrum_sepolia_synth_market_id__True__0.6744618704", "type": "test"}, "2264": {"name": "test.synthetix.not_null_blocks_snax_testnet_block_number.cbe563226c", "type": "test"}, "2265": {"name": "test.synthetix.unique_blocks_snax_testnet_block_number.2af7f40583", "type": "test"}, "2266": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_id.94c183a836", "type": "test"}, "2267": {"name": "test.synthetix.unique_gov_vote_recorded_snax_testnet_id.077b70d622", "type": "test"}, "2268": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_event_name.76babc2551", "type": "test"}, "2269": {"name": "test.synthetix.accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded.3107ed0913", "type": "test"}, "2270": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_chain_id.af02247585", "type": "test"}, "2271": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_timestamp.8bff125b42", "type": "test"}, "2272": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voter.32ab553729", "type": "test"}, "2273": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_epoch_id.a4ace8d141", "type": "test"}, "2274": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_transaction_hash.32e2b72fab", "type": "test"}, "2275": {"name": "test.synthetix.unique_gov_vote_recorded_snax_testnet_transaction_hash.2d1aaa8c7a", "type": "test"}, "2276": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_candidates.39ec698f83", "type": "test"}, "2277": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_number.bf5384239a", "type": "test"}, "2278": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voting_power.b8ee341c96", "type": "test"}, "2279": {"name": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_contract.d372e887ba", "type": "test"}, "2280": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_id.ab7d5eed00", "type": "test"}, "2281": {"name": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_id.014a1febf6", "type": "test"}, "2282": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_event_name.07b79bcefd", "type": "test"}, "2283": {"name": "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn.f8bcefc8de", "type": "test"}, "2284": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_chain_id.cd86db7422", "type": "test"}, "2285": {"name": "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.9f8c73acde", "type": "test"}, "2286": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.68f3ce7c19", "type": "test"}, "2287": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_voter.486c8024f6", "type": "test"}, "2288": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_epoch_id.3f22d60c1a", "type": "test"}, "2289": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.4d14f7c906", "type": "test"}, "2290": {"name": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_transaction_hash.2cda794480", "type": "test"}, "2291": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_number.c805901c73", "type": "test"}, "2292": {"name": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_contract.4b45185581", "type": "test"}, "2293": {"name": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "type": "test"}, "2294": {"name": "test.synthetix.unique_blocks_base_mainnet_block_number.e303976d40", "type": "test"}, "2295": {"name": "test.synthetix.dbt_utils_recency_blocks_base_mainnet_hour__ts__1.b0724712c2", "type": "test"}, "2296": {"name": "test.synthetix.unique_perp_account_created_base_mainnet_id.7e77a8a023", "type": "test"}, "2297": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_id.88dc5d9a3e", "type": "test"}, "2298": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_event_name.0ab1553ed8", "type": "test"}, "2299": {"name": "test.synthetix.accepted_values_perp_account_created_base_mainnet_event_name__AccountCreated.c906cbec9d", "type": "test"}, "2300": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_number.089e467aa3", "type": "test"}, "2301": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_block_timestamp.4e4344d68a", "type": "test"}, "2302": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_owner.1aca280221", "type": "test"}, "2303": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_account_id.2d9e573ba3", "type": "test"}, "2304": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_mainnet_account_id__True__0.31cc3873de", "type": "test"}, "2305": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_transaction_hash.0274c58381", "type": "test"}, "2306": {"name": "test.synthetix.not_null_perp_account_created_base_mainnet_contract.d77785377c", "type": "test"}, "2307": {"name": "test.synthetix.unique_perp_order_committed_base_mainnet_id.471fd9d19f", "type": "test"}, "2308": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_id.deaaf9a2d9", "type": "test"}, "2309": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_number.743f5b2c16", "type": "test"}, "2310": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_block_timestamp.ba049c4adc", "type": "test"}, "2311": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_transaction_hash.ba7bf1fc20", "type": "test"}, "2312": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_contract.ec04bc0cd9", "type": "test"}, "2313": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_event_name.ea7921e749", "type": "test"}, "2314": {"name": "test.synthetix.accepted_values_perp_order_committed_base_mainnet_event_name__OrderCommitted.ce39697ea3", "type": "test"}, "2315": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_market_id.09e2f9dd2e", "type": "test"}, "2316": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_market_id__True__0.9964b7c003", "type": "test"}, "2317": {"name": "test.synthetix.not_null_perp_order_committed_base_mainnet_account_id.4dabd60cd4", "type": "test"}, "2318": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_mainnet_account_id__True__0.c996cff012", "type": "test"}, "2319": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_contract.4999a48971", "type": "test"}, "2320": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_event_name.f1e61c05e6", "type": "test"}, "2321": {"name": "test.synthetix.accepted_values_perp_order_settled_base_mainnet_event_name__OrderSettled.2c75532624", "type": "test"}, "2322": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_account_id.16ba855b23", "type": "test"}, "2323": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_account_id__True__0.e5564d3ff0", "type": "test"}, "2324": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_market_id.6f4d850570", "type": "test"}, "2325": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_market_id__True__0.f0b24bdf87", "type": "test"}, "2326": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_collected_fees.b6a0c12cde", "type": "test"}, "2327": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_mainnet_collected_fees__True__0.160f85cd41", "type": "test"}, "2328": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_transaction_hash.a60987fbb0", "type": "test"}, "2329": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_timestamp.81876ddb40", "type": "test"}, "2330": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_block_number.f58d806635", "type": "test"}, "2331": {"name": "test.synthetix.unique_perp_order_settled_base_mainnet_id.0225a9550b", "type": "test"}, "2332": {"name": "test.synthetix.not_null_perp_order_settled_base_mainnet_id.5b3863aece", "type": "test"}, "2333": {"name": "test.synthetix.unique_perp_market_updated_base_mainnet_id.a3e4d3e22f", "type": "test"}, "2334": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_id.23f3e68a12", "type": "test"}, "2335": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_number.3088915c67", "type": "test"}, "2336": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_block_timestamp.c0b049d2d6", "type": "test"}, "2337": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_transaction_hash.28faaa00e5", "type": "test"}, "2338": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_contract.e19df268b3", "type": "test"}, "2339": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_event_name.de1019fbef", "type": "test"}, "2340": {"name": "test.synthetix.accepted_values_perp_market_updated_base_mainnet_event_name__MarketUpdated.33121cd63c", "type": "test"}, "2341": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_market_id.8ec7a63f6b", "type": "test"}, "2342": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_market_id__True__0.5c7a41566b", "type": "test"}, "2343": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_price.f0d91e2bd5", "type": "test"}, "2344": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_price__True__0.ae7f542736", "type": "test"}, "2345": {"name": "test.synthetix.not_null_perp_market_updated_base_mainnet_interest_rate.10b7a6c389", "type": "test"}, "2346": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_mainnet_interest_rate__True__0.7f6ed158d2", "type": "test"}, "2347": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_account_id.498f567370", "type": "test"}, "2348": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_account_id__True__0.4dca14dbcd", "type": "test"}, "2349": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_market_id.564386819e", "type": "test"}, "2350": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_market_id__True__0.f77ba4ae2f", "type": "test"}, "2351": {"name": "test.synthetix.unique_perp_position_liquidated_base_mainnet_id.922d3c5143", "type": "test"}, "2352": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_id.32c367bb62", "type": "test"}, "2353": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_transaction_hash.c67a9607db", "type": "test"}, "2354": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_current_position_size.b48e72d00b", "type": "test"}, "2355": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_current_position_size__True__0.f59eb84311", "type": "test"}, "2356": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_event_name.321097aa34", "type": "test"}, "2357": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_mainnet_event_name__PositionLiquidated.71fb40cadb", "type": "test"}, "2358": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_number.a7b9be436d", "type": "test"}, "2359": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_amount_liquidated.29ad6c9103", "type": "test"}, "2360": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_mainnet_amount_liquidated__True__0.be0c7ea09d", "type": "test"}, "2361": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_contract.16d824dbca", "type": "test"}, "2362": {"name": "test.synthetix.not_null_perp_position_liquidated_base_mainnet_block_timestamp.7e8e3434f7", "type": "test"}, "2363": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_mainnet_id.4ca8a36246", "type": "test"}, "2364": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_id.f0a38fed0b", "type": "test"}, "2365": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_account_id.b9af0ad259", "type": "test"}, "2366": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_account_id__True__0.1b7d106a7e", "type": "test"}, "2367": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_number.eb82068b1f", "type": "test"}, "2368": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_reward.c18396dc96", "type": "test"}, "2369": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_mainnet_reward__True__0.cb285aadec", "type": "test"}, "2370": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_block_timestamp.8bb23c25bf", "type": "test"}, "2371": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_contract.52c72e7f83", "type": "test"}, "2372": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_event_name.bdd4a2d793", "type": "test"}, "2373": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_mainnet_event_name__AccountLiquidationAttempt.aeb7d6db9c", "type": "test"}, "2374": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_transaction_hash.70575855b6", "type": "test"}, "2375": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_mainnet_full_liquidation.13fc102881", "type": "test"}, "2376": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_timestamp.dba3f4ea26", "type": "test"}, "2377": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_contract.c11139c863", "type": "test"}, "2378": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_event_name.ea66af17fe", "type": "test"}, "2379": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_mainnet_event_name__CollateralModified.a5e57f2d75", "type": "test"}, "2380": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_block_number.9a27b3b231", "type": "test"}, "2381": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_synth_market_id.d41b8065af", "type": "test"}, "2382": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_synth_market_id__True__0.d556e7848d", "type": "test"}, "2383": {"name": "test.synthetix.unique_perp_collateral_modified_base_mainnet_id.311ce0d794", "type": "test"}, "2384": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_id.f24bcc6b1b", "type": "test"}, "2385": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_sender.b40c55b7ee", "type": "test"}, "2386": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_account_id.cdccf3f2af", "type": "test"}, "2387": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_mainnet_account_id__True__0.9f7c28c3fd", "type": "test"}, "2388": {"name": "test.synthetix.not_null_perp_collateral_modified_base_mainnet_transaction_hash.3d3881c53b", "type": "test"}, "2389": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_timestamp.8433c78b93", "type": "test"}, "2390": {"name": "test.synthetix.unique_perp_previous_order_expired_base_mainnet_id.f02978148f", "type": "test"}, "2391": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_id.bc7a46deda", "type": "test"}, "2392": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_block_number.a563a713e9", "type": "test"}, "2393": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_market_id.3b39458251", "type": "test"}, "2394": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_market_id__True__0.edc1c768de", "type": "test"}, "2395": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_event_name.14c38c565c", "type": "test"}, "2396": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.a675fe5038", "type": "test"}, "2397": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_transaction_hash.97e2d12b2c", "type": "test"}, "2398": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_account_id.c8037fd435", "type": "test"}, "2399": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_mainnet_account_id__True__0.e4b1283a09", "type": "test"}, "2400": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_mainnet_contract.5eed227a76", "type": "test"}, "2401": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_name.162fe82996", "type": "test"}, "2402": {"name": "test.synthetix.unique_perp_market_created_base_mainnet_id.e1227e7e46", "type": "test"}, "2403": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_id.eb84eb9821", "type": "test"}, "2404": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_market_symbol.06e88b6544", "type": "test"}, "2405": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_event_name.f103b43404", "type": "test"}, "2406": {"name": "test.synthetix.accepted_values_perp_market_created_base_mainnet_event_name__MarketCreated.d9da845e2f", "type": "test"}, "2407": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_number.31d8a749ec", "type": "test"}, "2408": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_block_timestamp.b13b8b381f", "type": "test"}, "2409": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_contract.dd8ab60012", "type": "test"}, "2410": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_perps_market_id.d04a2adf66", "type": "test"}, "2411": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_mainnet_perps_market_id__True__0.7835f6c4e2", "type": "test"}, "2412": {"name": "test.synthetix.not_null_perp_market_created_base_mainnet_transaction_hash.005c8ea981", "type": "test"}, "2413": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_event_name.d0c6828a2c", "type": "test"}, "2414": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_mainnet_event_name__InterestCharged.92bd4d647b", "type": "test"}, "2415": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_contract.637ff31ac5", "type": "test"}, "2416": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_transaction_hash.82d6f4539b", "type": "test"}, "2417": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_timestamp.c006ab16a0", "type": "test"}, "2418": {"name": "test.synthetix.unique_perp_interest_charged_base_mainnet_id.849ecb5e38", "type": "test"}, "2419": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_id.a4394853e3", "type": "test"}, "2420": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_block_number.634b5a2ca3", "type": "test"}, "2421": {"name": "test.synthetix.not_null_perp_interest_charged_base_mainnet_account_id.9cea8c57e9", "type": "test"}, "2422": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_mainnet_account_id__True__0.a3ec3de479", "type": "test"}, "2423": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_timestamp.0d665a1669", "type": "test"}, "2424": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_event_name.36434bd8cd", "type": "test"}, "2425": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_mainnet_event_name__InterestRateUpdated.1f640e1a2e", "type": "test"}, "2426": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_transaction_hash.84f20da856", "type": "test"}, "2427": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_interest_rate.cfecf76356", "type": "test"}, "2428": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_interest_rate__True__0.9e368f0a36", "type": "test"}, "2429": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_block_number.76213ff694", "type": "test"}, "2430": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_mainnet_id.bddddb2671", "type": "test"}, "2431": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_id.e9a20cc82f", "type": "test"}, "2432": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_contract.79599300ad", "type": "test"}, "2433": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_mainnet_super_market_id.234f62d024", "type": "test"}, "2434": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_mainnet_super_market_id__True__0.4d69e0aece", "type": "test"}, "2435": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_id.f2ddc16a13", "type": "test"}, "2436": {"name": "test.synthetix.unique_buyback_processed_base_mainnet_id.7d5a3bf3a8", "type": "test"}, "2437": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_number.7938e67f70", "type": "test"}, "2438": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_block_timestamp.a03c2a402e", "type": "test"}, "2439": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_transaction_hash.48c42ff159", "type": "test"}, "2440": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_event_name.6b55058ad0", "type": "test"}, "2441": {"name": "test.synthetix.accepted_values_buyback_processed_base_mainnet_event_name__BuybackProcessed.dfe71d53df", "type": "test"}, "2442": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_contract.73ecec38f3", "type": "test"}, "2443": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_buyer.6dc7c79cf3", "type": "test"}, "2444": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_snx.d434d429ea", "type": "test"}, "2445": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_snx__True__0.afaf938419", "type": "test"}, "2446": {"name": "test.synthetix.not_null_buyback_processed_base_mainnet_usd.c5f2eba3f9", "type": "test"}, "2447": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_mainnet_usd__True__0.4acbfc34a4", "type": "test"}, "2448": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_owner.c498d5b28f", "type": "test"}, "2449": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_account_id.9f366bbbab", "type": "test"}, "2450": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_mainnet_account_id__True__0.13ad3c12e1", "type": "test"}, "2451": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_id.a6878c49cb", "type": "test"}, "2452": {"name": "test.synthetix.unique_core_account_created_base_mainnet_id.d79e3ab0d1", "type": "test"}, "2453": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_transaction_hash.21cf6568c1", "type": "test"}, "2454": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_number.1b0ff0bd14", "type": "test"}, "2455": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_block_timestamp.8e5d2b5809", "type": "test"}, "2456": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_event_name.f3ba489917", "type": "test"}, "2457": {"name": "test.synthetix.accepted_values_core_account_created_base_mainnet_event_name__AccountCreated.8d266dd241", "type": "test"}, "2458": {"name": "test.synthetix.not_null_core_account_created_base_mainnet_contract.9c9629d4bf", "type": "test"}, "2459": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_contract.26c790b056", "type": "test"}, "2460": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_id.3f46fc5fef", "type": "test"}, "2461": {"name": "test.synthetix.unique_core_delegation_updated_base_mainnet_id.cb86d131a2", "type": "test"}, "2462": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_account_id.d54eaa7e33", "type": "test"}, "2463": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_account_id__True__0.682b9be0e3", "type": "test"}, "2464": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_collateral_type.ed1a32a32c", "type": "test"}, "2465": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_pool_id.05c5c779bf", "type": "test"}, "2466": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_pool_id__True__0.4316662214", "type": "test"}, "2467": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_sender.0138cb07ed", "type": "test"}, "2468": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_timestamp.c521a83475", "type": "test"}, "2469": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_block_number.b7e4e88578", "type": "test"}, "2470": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_leverage.5efc0a9617", "type": "test"}, "2471": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_leverage__True__1000000000000000000__1000000000000000000.d5cf2050cc", "type": "test"}, "2472": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_transaction_hash.6915579646", "type": "test"}, "2473": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_amount.a0ab515e0a", "type": "test"}, "2474": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_mainnet_amount__True__0.a8783e193f", "type": "test"}, "2475": {"name": "test.synthetix.not_null_core_delegation_updated_base_mainnet_event_name.cfe99ccc6b", "type": "test"}, "2476": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_mainnet_event_name__DelegationUpdated.67d059ef8b", "type": "test"}, "2477": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_collateral_type.be650ff685", "type": "test"}, "2478": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_id.ee16c24c51", "type": "test"}, "2479": {"name": "test.synthetix.unique_core_deposited_base_mainnet_id.c13be8e337", "type": "test"}, "2480": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_contract.6e9ec1150a", "type": "test"}, "2481": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_event_name.31446f5c55", "type": "test"}, "2482": {"name": "test.synthetix.accepted_values_core_deposited_base_mainnet_event_name__Deposited.8716111032", "type": "test"}, "2483": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_transaction_hash.272eb2e81d", "type": "test"}, "2484": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_account_id.7193b1a2c0", "type": "test"}, "2485": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_account_id__True__0.64bcc1c124", "type": "test"}, "2486": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_sender.7b7ebe7456", "type": "test"}, "2487": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_timestamp.560df883dc", "type": "test"}, "2488": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_block_number.08ee53cd26", "type": "test"}, "2489": {"name": "test.synthetix.not_null_core_deposited_base_mainnet_token_amount.5b0e4b379d", "type": "test"}, "2490": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_mainnet_token_amount__True__0.60382baf55", "type": "test"}, "2491": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_timestamp.3b8ffa7210", "type": "test"}, "2492": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_contract.a8511fdb92", "type": "test"}, "2493": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_block_number.03c7cebae3", "type": "test"}, "2494": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_transaction_hash.a3fda71b2a", "type": "test"}, "2495": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_token_amount.fbabce38ba", "type": "test"}, "2496": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_token_amount__True__0.54af4bae82", "type": "test"}, "2497": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_collateral_type.f32eb82738", "type": "test"}, "2498": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_account_id.ef84b5b40c", "type": "test"}, "2499": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_mainnet_account_id__True__0.0bf8555841", "type": "test"}, "2500": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_id.8106f47c4d", "type": "test"}, "2501": {"name": "test.synthetix.unique_core_withdrawn_base_mainnet_id.72a24b0786", "type": "test"}, "2502": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_sender.2f5cf91bdf", "type": "test"}, "2503": {"name": "test.synthetix.not_null_core_withdrawn_base_mainnet_event_name.f423143c4b", "type": "test"}, "2504": {"name": "test.synthetix.accepted_values_core_withdrawn_base_mainnet_event_name__Withdrawn.8eb5613297", "type": "test"}, "2505": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_pool_id.0342c9a9f7", "type": "test"}, "2506": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_pool_id__True__0.9af005d964", "type": "test"}, "2507": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_timestamp.cc029a06b8", "type": "test"}, "2508": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_block_number.896bca83af", "type": "test"}, "2509": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_id.c949216a70", "type": "test"}, "2510": {"name": "test.synthetix.unique_core_liquidation_base_mainnet_id.876ec280ff", "type": "test"}, "2511": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_contract.cb2b40daff", "type": "test"}, "2512": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_event_name.b9c8609dd4", "type": "test"}, "2513": {"name": "test.synthetix.accepted_values_core_liquidation_base_mainnet_event_name__Liquidation.b1c18b74aa", "type": "test"}, "2514": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_collateral_type.c78d491846", "type": "test"}, "2515": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_sender.0c2397ee76", "type": "test"}, "2516": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_account_id.2ddc542a47", "type": "test"}, "2517": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_account_id__True__0.136053be04", "type": "test"}, "2518": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_transaction_hash.adee36dc81", "type": "test"}, "2519": {"name": "test.synthetix.not_null_core_liquidation_base_mainnet_liquidate_as_account_id.b2d7294162", "type": "test"}, "2520": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_mainnet_liquidate_as_account_id__True__0.7686495bd9", "type": "test"}, "2521": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_id.bdb44c0b54", "type": "test"}, "2522": {"name": "test.synthetix.unique_core_market_updated_base_mainnet_id.b2a5abdd48", "type": "test"}, "2523": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_timestamp.648a5f6e8c", "type": "test"}, "2524": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_block_number.e9e83211a7", "type": "test"}, "2525": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_transaction_hash.7b8eb5d77d", "type": "test"}, "2526": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_contract.6d90834e3f", "type": "test"}, "2527": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_event_name.6afe397967", "type": "test"}, "2528": {"name": "test.synthetix.accepted_values_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.06e57bf5c5", "type": "test"}, "2529": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_market_id.de78147356", "type": "test"}, "2530": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_market_id__True__0.ab7b335af7", "type": "test"}, "2531": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_net_issuance.334062f568", "type": "test"}, "2532": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_deposited_collateral_value.905a08bfbb", "type": "test"}, "2533": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_deposited_collateral_value__True__0.3945f7eca1", "type": "test"}, "2534": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_sender.5b6ff88208", "type": "test"}, "2535": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_collateral_type.6e2d5502d4", "type": "test"}, "2536": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_credit_capacity.4cad1dd5dd", "type": "test"}, "2537": {"name": "test.synthetix.not_null_core_market_updated_base_mainnet_token_amount.ce8694585d", "type": "test"}, "2538": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_mainnet_token_amount__True__0.159f754b68", "type": "test"}, "2539": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market.6a5311f9b7", "type": "test"}, "2540": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_market_id.8fa95d0adc", "type": "test"}, "2541": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_market_id.e03ba7f671", "type": "test"}, "2542": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_id.58185ba1ad", "type": "test"}, "2543": {"name": "test.synthetix.unique_core_market_registered_base_mainnet_id.b0e87b4cdb", "type": "test"}, "2544": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_timestamp.41726ce377", "type": "test"}, "2545": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_contract.0187a84f0b", "type": "test"}, "2546": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_transaction_hash.7e49be40a9", "type": "test"}, "2547": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_block_number.14cb004b58", "type": "test"}, "2548": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_event_name.c5054f10bf", "type": "test"}, "2549": {"name": "test.synthetix.accepted_values_core_market_registered_base_mainnet_event_name__MarketRegistered.b297851ae7", "type": "test"}, "2550": {"name": "test.synthetix.not_null_core_market_registered_base_mainnet_sender.9825c848f6", "type": "test"}, "2551": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_contract.6f3850c4d8", "type": "test"}, "2552": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_sender.0c210116c7", "type": "test"}, "2553": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_timestamp.94505d3912", "type": "test"}, "2554": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_id.44cc56adee", "type": "test"}, "2555": {"name": "test.synthetix.unique_core_pool_created_base_mainnet_id.f5ca162629", "type": "test"}, "2556": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_block_number.8ef3c64233", "type": "test"}, "2557": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_transaction_hash.88325163ff", "type": "test"}, "2558": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_event_name.0770467455", "type": "test"}, "2559": {"name": "test.synthetix.accepted_values_core_pool_created_base_mainnet_event_name__PoolCreated.a1f7123964", "type": "test"}, "2560": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_owner.875044313e", "type": "test"}, "2561": {"name": "test.synthetix.not_null_core_pool_created_base_mainnet_pool_id.d63bf41661", "type": "test"}, "2562": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_mainnet_pool_id__True__0.39f67d8bfc", "type": "test"}, "2563": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_transaction_hash.b63233ece5", "type": "test"}, "2564": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_account_id.854e016ff9", "type": "test"}, "2565": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_account_id__True__0.f3a8537aec", "type": "test"}, "2566": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_collateral_type.f4a0d97e20", "type": "test"}, "2567": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_event_name.8699999c22", "type": "test"}, "2568": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_mainnet_event_name__RewardsClaimed.aa2ca50bfd", "type": "test"}, "2569": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_contract.c7544b70ac", "type": "test"}, "2570": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_amount.2d80149737", "type": "test"}, "2571": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_amount__True__0.d32a48611c", "type": "test"}, "2572": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_distributor.edc7126cd6", "type": "test"}, "2573": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_timestamp.365bd8971d", "type": "test"}, "2574": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_id.e1c2a57eae", "type": "test"}, "2575": {"name": "test.synthetix.unique_core_rewards_claimed_base_mainnet_id.3e937354d7", "type": "test"}, "2576": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_pool_id.28e40cfefe", "type": "test"}, "2577": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_mainnet_pool_id__True__0.4091fd0cb1", "type": "test"}, "2578": {"name": "test.synthetix.not_null_core_rewards_claimed_base_mainnet_block_number.4b65195293", "type": "test"}, "2579": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_id.0142695043", "type": "test"}, "2580": {"name": "test.synthetix.unique_core_rewards_distributed_base_mainnet_id.8cb2f0871f", "type": "test"}, "2581": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_event_name.16811bbe2c", "type": "test"}, "2582": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_mainnet_event_name__RewardsDistributed.c4ccd15bed", "type": "test"}, "2583": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_amount.2580da873a", "type": "test"}, "2584": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_amount__True__0.839843f110", "type": "test"}, "2585": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_contract.5545c1884a", "type": "test"}, "2586": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_timestamp.3080d49013", "type": "test"}, "2587": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_transaction_hash.bc1d7442f3", "type": "test"}, "2588": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_collateral_type.7253a5e6ec", "type": "test"}, "2589": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_block_number.8a561feed6", "type": "test"}, "2590": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_duration.78ed8fd436", "type": "test"}, "2591": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_duration__True__0.7efb65f7c3", "type": "test"}, "2592": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_distributor.eb73b71c1b", "type": "test"}, "2593": {"name": "test.synthetix.not_null_core_rewards_distributed_base_mainnet_pool_id.8ee087c0fc", "type": "test"}, "2594": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_mainnet_pool_id__True__0.7d779ece26", "type": "test"}, "2595": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_amount.57fdbdea35", "type": "test"}, "2596": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_amount__True__0.27adfdbff9", "type": "test"}, "2597": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_pool_id.abf28cfdf6", "type": "test"}, "2598": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_pool_id__True__0.52120b282a", "type": "test"}, "2599": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_event_name.0bb05d75cc", "type": "test"}, "2600": {"name": "test.synthetix.accepted_values_core_usd_burned_base_mainnet_event_name__UsdBurned.9df46c6616", "type": "test"}, "2601": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_id.7d6df2e91f", "type": "test"}, "2602": {"name": "test.synthetix.unique_core_usd_burned_base_mainnet_id.5953435682", "type": "test"}, "2603": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_number.6f683bcb34", "type": "test"}, "2604": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_account_id.b4f53ab613", "type": "test"}, "2605": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_mainnet_account_id__True__0.40ca1a8133", "type": "test"}, "2606": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_sender.b813be6ecc", "type": "test"}, "2607": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_transaction_hash.d80af383d5", "type": "test"}, "2608": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_contract.dba51aebb5", "type": "test"}, "2609": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_collateral_type.e208105e0e", "type": "test"}, "2610": {"name": "test.synthetix.not_null_core_usd_burned_base_mainnet_block_timestamp.346c53ef95", "type": "test"}, "2611": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_pool_id.ee8fc13465", "type": "test"}, "2612": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_pool_id__True__0.38a3f5fcf9", "type": "test"}, "2613": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_timestamp.a004821ccd", "type": "test"}, "2614": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_account_id.ccf3e769fe", "type": "test"}, "2615": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_account_id__True__0.fd790b59ca", "type": "test"}, "2616": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_collateral_type.f8bfd4628e", "type": "test"}, "2617": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_block_number.9528b63fbc", "type": "test"}, "2618": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_id.9cb007fc5c", "type": "test"}, "2619": {"name": "test.synthetix.unique_core_usd_minted_base_mainnet_id.476f2a0b45", "type": "test"}, "2620": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_sender.363a1c6bc9", "type": "test"}, "2621": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_amount.196acb6a64", "type": "test"}, "2622": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_mainnet_amount__True__0.1d256007a1", "type": "test"}, "2623": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_event_name.33ff07927a", "type": "test"}, "2624": {"name": "test.synthetix.accepted_values_core_usd_minted_base_mainnet_event_name__UsdMinted.62f89abcc8", "type": "test"}, "2625": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_transaction_hash.c04da14c24", "type": "test"}, "2626": {"name": "test.synthetix.not_null_core_usd_minted_base_mainnet_contract.f56e539b17", "type": "test"}, "2627": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_transaction_hash.063cc50ef6", "type": "test"}, "2628": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_collateral_type.e0c76340c5", "type": "test"}, "2629": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_pool_id.4a337176ad", "type": "test"}, "2630": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_pool_id__True__0.bfc340e4f6", "type": "test"}, "2631": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_event_name.1e10a7bb02", "type": "test"}, "2632": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_mainnet_event_name__VaultLiquidation.b8ea6a7925", "type": "test"}, "2633": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_id.3054417f0f", "type": "test"}, "2634": {"name": "test.synthetix.unique_core_vault_liquidation_base_mainnet_id.74bcb7a076", "type": "test"}, "2635": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_timestamp.2dca047589", "type": "test"}, "2636": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidate_as_account_id.042bc52396", "type": "test"}, "2637": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_mainnet_liquidate_as_account_id__True__0.b04df95186", "type": "test"}, "2638": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_liquidation_data.be698b5245", "type": "test"}, "2639": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_contract.d5acf50762", "type": "test"}, "2640": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_block_number.667cea546c", "type": "test"}, "2641": {"name": "test.synthetix.not_null_core_vault_liquidation_base_mainnet_sender.512fed362a", "type": "test"}, "2642": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_ts.a02f87cd0d", "type": "test"}, "2643": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_block_number.6eaab21095", "type": "test"}, "2644": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_pool_id.e1a826b5b2", "type": "test"}, "2645": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_pool_id__True__0.c52772c114", "type": "test"}, "2646": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_type.bef58af2ef", "type": "test"}, "2647": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_amount.45536133a9", "type": "test"}, "2648": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_amount__True__0.9e07833bf5", "type": "test"}, "2649": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_collateral_value.5805db9c59", "type": "test"}, "2650": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_mainnet_collateral_value__True__0.7350cb66f7", "type": "test"}, "2651": {"name": "test.synthetix.not_null_core_vault_collateral_base_mainnet_contract_address.bc7a096c7d", "type": "test"}, "2652": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_ts.fc19d225e3", "type": "test"}, "2653": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_block_number.bd4478b322", "type": "test"}, "2654": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_pool_id.e33ea26a56", "type": "test"}, "2655": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_mainnet_pool_id__True__0.583a0abe4f", "type": "test"}, "2656": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_collateral_type.e3f9b96478", "type": "test"}, "2657": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_debt.922a67baf4", "type": "test"}, "2658": {"name": "test.synthetix.not_null_core_vault_debt_base_mainnet_contract_address.f2b82344e4", "type": "test"}, "2659": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_id.4e7c563b12", "type": "test"}, "2660": {"name": "test.synthetix.unique_spot_order_committed_base_mainnet_id.ebe225e3c1", "type": "test"}, "2661": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_event_name.dc08478d35", "type": "test"}, "2662": {"name": "test.synthetix.accepted_values_spot_order_committed_base_mainnet_event_name__OrderCommitted.7219cd261b", "type": "test"}, "2663": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_sender.fcb2f6b8e6", "type": "test"}, "2664": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_timestamp.b355df469e", "type": "test"}, "2665": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_referrer.773110510c", "type": "test"}, "2666": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_amount_provided.99b6d3d7c6", "type": "test"}, "2667": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_amount_provided__True__0.9f6ff0bd95", "type": "test"}, "2668": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_transaction_hash.bf2697d39d", "type": "test"}, "2669": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_contract.2711d7c5f2", "type": "test"}, "2670": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_market_id.eb878589ce", "type": "test"}, "2671": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_mainnet_market_id__True__0.d412907ad8", "type": "test"}, "2672": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_block_number.b73840a782", "type": "test"}, "2673": {"name": "test.synthetix.not_null_spot_order_committed_base_mainnet_order_type.af8cf04472", "type": "test"}, "2674": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_final_order_amount__True__0.285227b4ad", "type": "test"}, "2675": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_settler.32eafc3529", "type": "test"}, "2676": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_number.0da3f5f83c", "type": "test"}, "2677": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_transaction_hash.cc03e5396c", "type": "test"}, "2678": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_block_timestamp.d6a06e33d2", "type": "test"}, "2679": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_id.bee9f4adc9", "type": "test"}, "2680": {"name": "test.synthetix.unique_spot_order_settled_base_mainnet_id.3552e2a2e6", "type": "test"}, "2681": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_order_type.0e7f500a0a", "type": "test"}, "2682": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_contract.901410d0f9", "type": "test"}, "2683": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_price.a8065724a1", "type": "test"}, "2684": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_price__True__0.a69aaf95b9", "type": "test"}, "2685": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_market_id.ea53981200", "type": "test"}, "2686": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_market_id__True__0.57e7a4e22d", "type": "test"}, "2687": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_collected_fees.f0d64ac401", "type": "test"}, "2688": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_mainnet_collected_fees__True__0.d7bd810890", "type": "test"}, "2689": {"name": "test.synthetix.not_null_spot_order_settled_base_mainnet_event_name.b99840eec6", "type": "test"}, "2690": {"name": "test.synthetix.accepted_values_spot_order_settled_base_mainnet_event_name__OrderSettled.30376f4577", "type": "test"}, "2691": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_id.5486ce1cb2", "type": "test"}, "2692": {"name": "test.synthetix.unique_spot_order_cancelled_base_mainnet_id.5ac9e5a86c", "type": "test"}, "2693": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_timestamp.81016bb88f", "type": "test"}, "2694": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_transaction_hash.524e2820c0", "type": "test"}, "2695": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_sender.666cd271e1", "type": "test"}, "2696": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_contract.b45f673add", "type": "test"}, "2697": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_event_name.75d1cf92ef", "type": "test"}, "2698": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_mainnet_event_name__OrderCancelled.468b0aa5ec", "type": "test"}, "2699": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_market_id.3d2e9d2ba5", "type": "test"}, "2700": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_mainnet_market_id__True__0.9edddeabb3", "type": "test"}, "2701": {"name": "test.synthetix.not_null_spot_order_cancelled_base_mainnet_block_number.59e7d43c87", "type": "test"}, "2702": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_id.9f21a7f761", "type": "test"}, "2703": {"name": "test.synthetix.unique_spot_synth_registered_base_mainnet_id.81eda4804d", "type": "test"}, "2704": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_timestamp.9fcd6d9ec6", "type": "test"}, "2705": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_market_id.97f70d1e33", "type": "test"}, "2706": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_mainnet_synth_market_id__True__0.289066bb62", "type": "test"}, "2707": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_block_number.fb558416fb", "type": "test"}, "2708": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_contract.a1096e5fd9", "type": "test"}, "2709": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_synth_token_address.f2f086a15a", "type": "test"}, "2710": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_event_name.6d850cc54d", "type": "test"}, "2711": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_mainnet_event_name__SynthRegistered.5528c05ba2", "type": "test"}, "2712": {"name": "test.synthetix.not_null_spot_synth_registered_base_mainnet_transaction_hash.7e53d9e7f0", "type": "test"}, "2713": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_collected_fees.d9c17c84f7", "type": "test"}, "2714": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_collected_fees__True__0.3fcb3fda3a", "type": "test"}, "2715": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_transaction_hash.1e8279de09", "type": "test"}, "2716": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_synth_market_id.32145e8cb4", "type": "test"}, "2717": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_synth_market_id__True__0.e3b9a2a2bf", "type": "test"}, "2718": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_number.afabe746ef", "type": "test"}, "2719": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_block_timestamp.5044e48413", "type": "test"}, "2720": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_id.f9e555c962", "type": "test"}, "2721": {"name": "test.synthetix.unique_spot_synth_bought_base_mainnet_id.e00678ebae", "type": "test"}, "2722": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_price.f59f9c339a", "type": "test"}, "2723": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_mainnet_price__True__0.e25fbf2240", "type": "test"}, "2724": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_contract.d6d311c160", "type": "test"}, "2725": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_referrer.3b61ce852c", "type": "test"}, "2726": {"name": "test.synthetix.not_null_spot_synth_bought_base_mainnet_event_name.8a35f2634d", "type": "test"}, "2727": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_mainnet_event_name__SynthBought.7302486ec0", "type": "test"}, "2728": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_event_name.f76ff966dc", "type": "test"}, "2729": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_mainnet_event_name__SynthSold.b1a44748ed", "type": "test"}, "2730": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_transaction_hash.6957d51d9c", "type": "test"}, "2731": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_collected_fees.99a85c53ea", "type": "test"}, "2732": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_collected_fees__True__0.6cc814f854", "type": "test"}, "2733": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_timestamp.1713f1d130", "type": "test"}, "2734": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_referrer.ee678360be", "type": "test"}, "2735": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_block_number.148bf58e52", "type": "test"}, "2736": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_price.3d1a702fbb", "type": "test"}, "2737": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_price__True__0.994b9376fd", "type": "test"}, "2738": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_amount_returned.989a4131c2", "type": "test"}, "2739": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_amount_returned__True__0.250710e6f1", "type": "test"}, "2740": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_synth_market_id.b7dab5388d", "type": "test"}, "2741": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_mainnet_synth_market_id__True__0.3ec6dae33c", "type": "test"}, "2742": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_id.763b711f62", "type": "test"}, "2743": {"name": "test.synthetix.unique_spot_synth_sold_base_mainnet_id.4cbe90534a", "type": "test"}, "2744": {"name": "test.synthetix.not_null_spot_synth_sold_base_mainnet_contract.46ddd59981", "type": "test"}, "2745": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_id.7d79ad852d", "type": "test"}, "2746": {"name": "test.synthetix.unique_spot_synth_wrapped_base_mainnet_id.77a4ae72ae", "type": "test"}, "2747": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_transaction_hash.9cbd57629d", "type": "test"}, "2748": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_synth_market_id.e2b2f4733f", "type": "test"}, "2749": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_synth_market_id__True__0.3d7fa017bf", "type": "test"}, "2750": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_contract.33e8d1917b", "type": "test"}, "2751": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_event_name.1f22f5789b", "type": "test"}, "2752": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_mainnet_event_name__SynthWrapped.e81f79edcb", "type": "test"}, "2753": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_timestamp.66ddebcfe0", "type": "test"}, "2754": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_block_number.4bf40252e1", "type": "test"}, "2755": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_mainnet_fees_collected.9a641530e9", "type": "test"}, "2756": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_mainnet_fees_collected__True__0.88e8d792fd", "type": "test"}, "2757": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_timestamp.0e8329af5c", "type": "test"}, "2758": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_amount_unwrapped.025e49370b", "type": "test"}, "2759": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_amount_unwrapped__True__0.2e78bc25a2", "type": "test"}, "2760": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_fees_collected.cd35bec369", "type": "test"}, "2761": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_fees_collected__True__0.48d9a0e389", "type": "test"}, "2762": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_event_name.dbfac4a471", "type": "test"}, "2763": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_mainnet_event_name__SynthUnwrapped.a1713eb60e", "type": "test"}, "2764": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_block_number.81e8f4c2ea", "type": "test"}, "2765": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_transaction_hash.e27a71ff2d", "type": "test"}, "2766": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_contract.cba8e61baa", "type": "test"}, "2767": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_id.cd459ace96", "type": "test"}, "2768": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_mainnet_id.1256b6907b", "type": "test"}, "2769": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_mainnet_synth_market_id.47983f606b", "type": "test"}, "2770": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_mainnet_synth_market_id__True__0.de01d6cd38", "type": "test"}, "2771": {"name": "test.synthetix.not_null_blocks_base_sepolia_block_number.1adc80fce5", "type": "test"}, "2772": {"name": "test.synthetix.unique_blocks_base_sepolia_block_number.b9de81024b", "type": "test"}, "2773": {"name": "test.synthetix.dbt_utils_recency_blocks_base_sepolia_hour__ts__1.b4197f397a", "type": "test"}, "2774": {"name": "test.synthetix.unique_perp_account_created_base_sepolia_id.d2b0023315", "type": "test"}, "2775": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_id.7da01b5642", "type": "test"}, "2776": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_event_name.d7deee96b5", "type": "test"}, "2777": {"name": "test.synthetix.accepted_values_perp_account_created_base_sepolia_event_name__AccountCreated.e5e94f342c", "type": "test"}, "2778": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_number.b9729c0627", "type": "test"}, "2779": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_block_timestamp.1f03770bcc", "type": "test"}, "2780": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_owner.31f8eb801c", "type": "test"}, "2781": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_account_id.e2509a45ab", "type": "test"}, "2782": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_created_base_sepolia_account_id__True__0.72ab89cd5f", "type": "test"}, "2783": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_transaction_hash.6324af1adb", "type": "test"}, "2784": {"name": "test.synthetix.not_null_perp_account_created_base_sepolia_contract.1b1ec25344", "type": "test"}, "2785": {"name": "test.synthetix.unique_perp_order_committed_base_sepolia_id.eb024384af", "type": "test"}, "2786": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_id.5b74c78258", "type": "test"}, "2787": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_number.f3230cc50d", "type": "test"}, "2788": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_block_timestamp.192957d40c", "type": "test"}, "2789": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_transaction_hash.761f6c5146", "type": "test"}, "2790": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_contract.ad38cda3df", "type": "test"}, "2791": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_event_name.dc8411b8b1", "type": "test"}, "2792": {"name": "test.synthetix.accepted_values_perp_order_committed_base_sepolia_event_name__OrderCommitted.f236dead5d", "type": "test"}, "2793": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_market_id.9c41f762ec", "type": "test"}, "2794": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_market_id__True__0.6174df8d83", "type": "test"}, "2795": {"name": "test.synthetix.not_null_perp_order_committed_base_sepolia_account_id.e0cc9cd7a0", "type": "test"}, "2796": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_committed_base_sepolia_account_id__True__0.2a5b9bdddf", "type": "test"}, "2797": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_contract.03742630fd", "type": "test"}, "2798": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_event_name.95d61e9b53", "type": "test"}, "2799": {"name": "test.synthetix.accepted_values_perp_order_settled_base_sepolia_event_name__OrderSettled.b82d60a6cd", "type": "test"}, "2800": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_account_id.0505121484", "type": "test"}, "2801": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_account_id__True__0.dd4d18c933", "type": "test"}, "2802": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_market_id.90e9816e9b", "type": "test"}, "2803": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_market_id__True__0.00baab3b06", "type": "test"}, "2804": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_collected_fees.19815f72b6", "type": "test"}, "2805": {"name": "test.synthetix.dbt_utils_accepted_range_perp_order_settled_base_sepolia_collected_fees__True__0.cfcb7626da", "type": "test"}, "2806": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_transaction_hash.e40380e103", "type": "test"}, "2807": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_timestamp.8624d8c529", "type": "test"}, "2808": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_block_number.723c9f9ccf", "type": "test"}, "2809": {"name": "test.synthetix.unique_perp_order_settled_base_sepolia_id.52c8b658a1", "type": "test"}, "2810": {"name": "test.synthetix.not_null_perp_order_settled_base_sepolia_id.6a51920964", "type": "test"}, "2811": {"name": "test.synthetix.unique_perp_market_updated_base_sepolia_id.5fa0b8a094", "type": "test"}, "2812": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_id.c010e8e9d3", "type": "test"}, "2813": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_number.6d91893cd9", "type": "test"}, "2814": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_block_timestamp.eabfe875b1", "type": "test"}, "2815": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_transaction_hash.b36ca2219f", "type": "test"}, "2816": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_contract.7a798ec958", "type": "test"}, "2817": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_event_name.5808660a29", "type": "test"}, "2818": {"name": "test.synthetix.accepted_values_perp_market_updated_base_sepolia_event_name__MarketUpdated.6507eaa7c6", "type": "test"}, "2819": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_market_id.1d15a36e0c", "type": "test"}, "2820": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_market_id__True__0.2aed99d0b6", "type": "test"}, "2821": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_price.821df5b6b3", "type": "test"}, "2822": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_price__True__0.4f4858e59f", "type": "test"}, "2823": {"name": "test.synthetix.not_null_perp_market_updated_base_sepolia_interest_rate.20f815f06a", "type": "test"}, "2824": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_updated_base_sepolia_interest_rate__True__0.82fe5b32f6", "type": "test"}, "2825": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_account_id.8e9f2c1b4b", "type": "test"}, "2826": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_account_id__True__0.a60e1cbb90", "type": "test"}, "2827": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_market_id.6c389de6f5", "type": "test"}, "2828": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_market_id__True__0.c5145fd027", "type": "test"}, "2829": {"name": "test.synthetix.unique_perp_position_liquidated_base_sepolia_id.e92f27d6e6", "type": "test"}, "2830": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_id.985f2af114", "type": "test"}, "2831": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_transaction_hash.b180fd2627", "type": "test"}, "2832": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_current_position_size.f98475edcb", "type": "test"}, "2833": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_current_position_size__True__0.cf9da7d717", "type": "test"}, "2834": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_event_name.1d2d01fa50", "type": "test"}, "2835": {"name": "test.synthetix.accepted_values_perp_position_liquidated_base_sepolia_event_name__PositionLiquidated.e07d1e03f2", "type": "test"}, "2836": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_number.d05dfab674", "type": "test"}, "2837": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_amount_liquidated.c878a441e1", "type": "test"}, "2838": {"name": "test.synthetix.dbt_utils_accepted_range_perp_position_liquidated_base_sepolia_amount_liquidated__True__0.20b97e678b", "type": "test"}, "2839": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_contract.0a66db5700", "type": "test"}, "2840": {"name": "test.synthetix.not_null_perp_position_liquidated_base_sepolia_block_timestamp.1700de694b", "type": "test"}, "2841": {"name": "test.synthetix.unique_perp_account_liquidation_attempt_base_sepolia_id.64895ed40b", "type": "test"}, "2842": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_id.fa21a229e8", "type": "test"}, "2843": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_account_id.72dba0b474", "type": "test"}, "2844": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_account_id__True__0.d9d7f88802", "type": "test"}, "2845": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_number.c00ff06028", "type": "test"}, "2846": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_reward.41da25d087", "type": "test"}, "2847": {"name": "test.synthetix.dbt_utils_accepted_range_perp_account_liquidation_attempt_base_sepolia_reward__True__0.d1fe263182", "type": "test"}, "2848": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_block_timestamp.b212643602", "type": "test"}, "2849": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_contract.5a7ac10d9d", "type": "test"}, "2850": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_event_name.5a524744d4", "type": "test"}, "2851": {"name": "test.synthetix.accepted_values_perp_account_liquidation_attempt_base_sepolia_event_name__AccountLiquidationAttempt.7e035fbfbd", "type": "test"}, "2852": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_transaction_hash.18ed9c33a9", "type": "test"}, "2853": {"name": "test.synthetix.not_null_perp_account_liquidation_attempt_base_sepolia_full_liquidation.4544a98926", "type": "test"}, "2854": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_timestamp.a0b63e8833", "type": "test"}, "2855": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_contract.c669409e90", "type": "test"}, "2856": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_event_name.05505fea35", "type": "test"}, "2857": {"name": "test.synthetix.accepted_values_perp_collateral_modified_base_sepolia_event_name__CollateralModified.35bbd5a11f", "type": "test"}, "2858": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_block_number.5818313783", "type": "test"}, "2859": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_synth_market_id.6b585142fd", "type": "test"}, "2860": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_synth_market_id__True__0.e6426004ec", "type": "test"}, "2861": {"name": "test.synthetix.unique_perp_collateral_modified_base_sepolia_id.df76a33926", "type": "test"}, "2862": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_id.0306c59b13", "type": "test"}, "2863": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_sender.c5a5dbc794", "type": "test"}, "2864": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_account_id.41a4ca06b6", "type": "test"}, "2865": {"name": "test.synthetix.dbt_utils_accepted_range_perp_collateral_modified_base_sepolia_account_id__True__0.4061e8095e", "type": "test"}, "2866": {"name": "test.synthetix.not_null_perp_collateral_modified_base_sepolia_transaction_hash.ccfe215417", "type": "test"}, "2867": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_timestamp.2056bbf796", "type": "test"}, "2868": {"name": "test.synthetix.unique_perp_previous_order_expired_base_sepolia_id.a9c841c5f7", "type": "test"}, "2869": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_id.35380c8364", "type": "test"}, "2870": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_block_number.b44f0bbf4b", "type": "test"}, "2871": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_market_id.c3963e0426", "type": "test"}, "2872": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_market_id__True__0.92c22b0d98", "type": "test"}, "2873": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_event_name.94027cf5fd", "type": "test"}, "2874": {"name": "test.synthetix.accepted_values_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.1a5af6cb8b", "type": "test"}, "2875": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_transaction_hash.47402badfc", "type": "test"}, "2876": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_account_id.358a8acfe7", "type": "test"}, "2877": {"name": "test.synthetix.dbt_utils_accepted_range_perp_previous_order_expired_base_sepolia_account_id__True__0.7ed9f71601", "type": "test"}, "2878": {"name": "test.synthetix.not_null_perp_previous_order_expired_base_sepolia_contract.d5ae4c2080", "type": "test"}, "2879": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_name.2335002c7c", "type": "test"}, "2880": {"name": "test.synthetix.unique_perp_market_created_base_sepolia_id.9af5f482a3", "type": "test"}, "2881": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_id.3651be9d50", "type": "test"}, "2882": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_market_symbol.b99df1cd19", "type": "test"}, "2883": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_event_name.594bfb776d", "type": "test"}, "2884": {"name": "test.synthetix.accepted_values_perp_market_created_base_sepolia_event_name__MarketCreated.da7f65c9d0", "type": "test"}, "2885": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_number.f39a76515f", "type": "test"}, "2886": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_block_timestamp.087de488f9", "type": "test"}, "2887": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_contract.9b5b7d63ca", "type": "test"}, "2888": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_perps_market_id.30bf02bc46", "type": "test"}, "2889": {"name": "test.synthetix.dbt_utils_accepted_range_perp_market_created_base_sepolia_perps_market_id__True__0.89e2162ed5", "type": "test"}, "2890": {"name": "test.synthetix.not_null_perp_market_created_base_sepolia_transaction_hash.83d1940949", "type": "test"}, "2891": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_event_name.7088270e38", "type": "test"}, "2892": {"name": "test.synthetix.accepted_values_perp_interest_charged_base_sepolia_event_name__InterestCharged.b607f55a72", "type": "test"}, "2893": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_contract.ad4bd5bb4b", "type": "test"}, "2894": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_transaction_hash.7d20550a93", "type": "test"}, "2895": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_timestamp.6723ccf2f9", "type": "test"}, "2896": {"name": "test.synthetix.unique_perp_interest_charged_base_sepolia_id.7023b7407d", "type": "test"}, "2897": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_id.a8d5a81503", "type": "test"}, "2898": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_block_number.e9b7b9cd80", "type": "test"}, "2899": {"name": "test.synthetix.not_null_perp_interest_charged_base_sepolia_account_id.ec1ea115af", "type": "test"}, "2900": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_charged_base_sepolia_account_id__True__0.7595935b71", "type": "test"}, "2901": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_timestamp.609017baeb", "type": "test"}, "2902": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_event_name.30275ad446", "type": "test"}, "2903": {"name": "test.synthetix.accepted_values_perp_interest_rate_updated_base_sepolia_event_name__InterestRateUpdated.5d317c53f3", "type": "test"}, "2904": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_transaction_hash.3601647535", "type": "test"}, "2905": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_interest_rate.7f5f7342cd", "type": "test"}, "2906": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_interest_rate__True__0.c114557661", "type": "test"}, "2907": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_block_number.eeff2c078a", "type": "test"}, "2908": {"name": "test.synthetix.unique_perp_interest_rate_updated_base_sepolia_id.2295efc83a", "type": "test"}, "2909": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_id.24c18054e7", "type": "test"}, "2910": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_contract.ccc079c59c", "type": "test"}, "2911": {"name": "test.synthetix.not_null_perp_interest_rate_updated_base_sepolia_super_market_id.68b732b580", "type": "test"}, "2912": {"name": "test.synthetix.dbt_utils_accepted_range_perp_interest_rate_updated_base_sepolia_super_market_id__True__0.cc3fb6ff17", "type": "test"}, "2913": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_id.e10820e4d2", "type": "test"}, "2914": {"name": "test.synthetix.unique_buyback_processed_base_sepolia_id.c3e20dc22e", "type": "test"}, "2915": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_number.73166259d7", "type": "test"}, "2916": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_block_timestamp.c83a09ad33", "type": "test"}, "2917": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_transaction_hash.a38d34613b", "type": "test"}, "2918": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_event_name.755deb59b2", "type": "test"}, "2919": {"name": "test.synthetix.accepted_values_buyback_processed_base_sepolia_event_name__BuybackProcessed.16f3176222", "type": "test"}, "2920": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_contract.b27543f734", "type": "test"}, "2921": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_buyer.4fd04cc021", "type": "test"}, "2922": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_snx.52b876a9f7", "type": "test"}, "2923": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_snx__True__0.628aa3b85b", "type": "test"}, "2924": {"name": "test.synthetix.not_null_buyback_processed_base_sepolia_usd.397135feed", "type": "test"}, "2925": {"name": "test.synthetix.dbt_utils_accepted_range_buyback_processed_base_sepolia_usd__True__0.f23761f17f", "type": "test"}, "2926": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_owner.adee48eb04", "type": "test"}, "2927": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_account_id.fb36b0b793", "type": "test"}, "2928": {"name": "test.synthetix.dbt_utils_accepted_range_core_account_created_base_sepolia_account_id__True__0.dd17e6e171", "type": "test"}, "2929": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_id.804b852bd8", "type": "test"}, "2930": {"name": "test.synthetix.unique_core_account_created_base_sepolia_id.3342caea87", "type": "test"}, "2931": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_transaction_hash.53f2200f19", "type": "test"}, "2932": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_number.01a77f24bc", "type": "test"}, "2933": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_block_timestamp.56ac347427", "type": "test"}, "2934": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_event_name.4849c8704e", "type": "test"}, "2935": {"name": "test.synthetix.accepted_values_core_account_created_base_sepolia_event_name__AccountCreated.419b9196c4", "type": "test"}, "2936": {"name": "test.synthetix.not_null_core_account_created_base_sepolia_contract.53ca26628e", "type": "test"}, "2937": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_contract.f5b6f539eb", "type": "test"}, "2938": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_id.dcd3b41380", "type": "test"}, "2939": {"name": "test.synthetix.unique_core_delegation_updated_base_sepolia_id.09af5f863a", "type": "test"}, "2940": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_account_id.eeaa67ead3", "type": "test"}, "2941": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_account_id__True__0.744442e3e1", "type": "test"}, "2942": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_collateral_type.0ccc2f8e54", "type": "test"}, "2943": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_pool_id.8e7b343725", "type": "test"}, "2944": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_pool_id__True__0.76dffc3ab3", "type": "test"}, "2945": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_sender.ff059463dc", "type": "test"}, "2946": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_timestamp.d9e4249b7d", "type": "test"}, "2947": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_block_number.d1ae1c451b", "type": "test"}, "2948": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_leverage.b016b358da", "type": "test"}, "2949": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_leverage__True__1000000000000000000__1000000000000000000.bc25b2b948", "type": "test"}, "2950": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_transaction_hash.403e1a44d0", "type": "test"}, "2951": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_amount.b946bd0b57", "type": "test"}, "2952": {"name": "test.synthetix.dbt_utils_accepted_range_core_delegation_updated_base_sepolia_amount__True__0.c17a0b7ccb", "type": "test"}, "2953": {"name": "test.synthetix.not_null_core_delegation_updated_base_sepolia_event_name.1eb3a277fa", "type": "test"}, "2954": {"name": "test.synthetix.accepted_values_core_delegation_updated_base_sepolia_event_name__DelegationUpdated.05fda2d1e2", "type": "test"}, "2955": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_collateral_type.a340ec02eb", "type": "test"}, "2956": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_id.0591da203f", "type": "test"}, "2957": {"name": "test.synthetix.unique_core_deposited_base_sepolia_id.3b38f638da", "type": "test"}, "2958": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_contract.8dbc5afa3f", "type": "test"}, "2959": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_event_name.b7ccc83970", "type": "test"}, "2960": {"name": "test.synthetix.accepted_values_core_deposited_base_sepolia_event_name__Deposited.2befe04139", "type": "test"}, "2961": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_transaction_hash.305ad04c84", "type": "test"}, "2962": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_account_id.d414fa2a62", "type": "test"}, "2963": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_account_id__True__0.7619844d60", "type": "test"}, "2964": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_sender.0468b8397d", "type": "test"}, "2965": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_timestamp.cbbc8b2a2e", "type": "test"}, "2966": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_block_number.e9986d7fcf", "type": "test"}, "2967": {"name": "test.synthetix.not_null_core_deposited_base_sepolia_token_amount.af75bc1896", "type": "test"}, "2968": {"name": "test.synthetix.dbt_utils_accepted_range_core_deposited_base_sepolia_token_amount__True__0.266baf687b", "type": "test"}, "2969": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_timestamp.276176a645", "type": "test"}, "2970": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_contract.9a643890c5", "type": "test"}, "2971": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_block_number.b38561efe3", "type": "test"}, "2972": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_transaction_hash.ea6432763a", "type": "test"}, "2973": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_token_amount.3582c76f95", "type": "test"}, "2974": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_token_amount__True__0.600b962701", "type": "test"}, "2975": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_collateral_type.e4b3817245", "type": "test"}, "2976": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_account_id.6536ec7b3c", "type": "test"}, "2977": {"name": "test.synthetix.dbt_utils_accepted_range_core_withdrawn_base_sepolia_account_id__True__0.283560870b", "type": "test"}, "2978": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_id.a4ef85d6dd", "type": "test"}, "2979": {"name": "test.synthetix.unique_core_withdrawn_base_sepolia_id.30c3b98bff", "type": "test"}, "2980": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_sender.935071b6a7", "type": "test"}, "2981": {"name": "test.synthetix.not_null_core_withdrawn_base_sepolia_event_name.919fe4b5de", "type": "test"}, "2982": {"name": "test.synthetix.accepted_values_core_withdrawn_base_sepolia_event_name__Withdrawn.12079a5ee6", "type": "test"}, "2983": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_pool_id.0059acd0f9", "type": "test"}, "2984": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_pool_id__True__0.7493427efd", "type": "test"}, "2985": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_timestamp.212c6a9018", "type": "test"}, "2986": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_block_number.f510e99a58", "type": "test"}, "2987": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_id.efbd949b78", "type": "test"}, "2988": {"name": "test.synthetix.unique_core_liquidation_base_sepolia_id.321d95d29c", "type": "test"}, "2989": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_contract.2d1b4b38d4", "type": "test"}, "2990": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_event_name.ab3ef77d1c", "type": "test"}, "2991": {"name": "test.synthetix.accepted_values_core_liquidation_base_sepolia_event_name__Liquidation.24bb1726f1", "type": "test"}, "2992": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_collateral_type.c93d2f649b", "type": "test"}, "2993": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_sender.3afbae055d", "type": "test"}, "2994": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_account_id.0aa7b969f5", "type": "test"}, "2995": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_account_id__True__0.02852291f8", "type": "test"}, "2996": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_transaction_hash.78921d6775", "type": "test"}, "2997": {"name": "test.synthetix.not_null_core_liquidation_base_sepolia_liquidate_as_account_id.3e3ca344a6", "type": "test"}, "2998": {"name": "test.synthetix.dbt_utils_accepted_range_core_liquidation_base_sepolia_liquidate_as_account_id__True__0.6947f1cc05", "type": "test"}, "2999": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_id.179b4fa862", "type": "test"}, "3000": {"name": "test.synthetix.unique_core_market_updated_base_sepolia_id.945f14ee77", "type": "test"}, "3001": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_timestamp.66be40faea", "type": "test"}, "3002": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_block_number.450e88640c", "type": "test"}, "3003": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_transaction_hash.6351c7ce23", "type": "test"}, "3004": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_contract.cf139c06ed", "type": "test"}, "3005": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_event_name.c0e71ec841", "type": "test"}, "3006": {"name": "test.synthetix.accepted_values_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.97084835ea", "type": "test"}, "3007": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_market_id.81913bae24", "type": "test"}, "3008": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_market_id__True__0.c2038f3200", "type": "test"}, "3009": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_net_issuance.85d70c9059", "type": "test"}, "3010": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_deposited_collateral_value.47b96d9782", "type": "test"}, "3011": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_deposited_collateral_value__True__0.ff17627b64", "type": "test"}, "3012": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_sender.b57e7709cd", "type": "test"}, "3013": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_collateral_type.a64be17284", "type": "test"}, "3014": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_credit_capacity.2033e021e1", "type": "test"}, "3015": {"name": "test.synthetix.not_null_core_market_updated_base_sepolia_token_amount.a8f7145772", "type": "test"}, "3016": {"name": "test.synthetix.dbt_utils_accepted_range_core_market_updated_base_sepolia_token_amount__True__0.00d32c5847", "type": "test"}, "3017": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market.c1fe5f76b8", "type": "test"}, "3018": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_market_id.dc3f59aaaf", "type": "test"}, "3019": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_market_id.37a04d292a", "type": "test"}, "3020": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_id.6150b3d520", "type": "test"}, "3021": {"name": "test.synthetix.unique_core_market_registered_base_sepolia_id.1efe4c6aec", "type": "test"}, "3022": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_timestamp.209ede7f48", "type": "test"}, "3023": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_contract.8cc1db09cc", "type": "test"}, "3024": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_transaction_hash.de234a0b4d", "type": "test"}, "3025": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_block_number.fd8cdd563c", "type": "test"}, "3026": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_event_name.c0f99c65cf", "type": "test"}, "3027": {"name": "test.synthetix.accepted_values_core_market_registered_base_sepolia_event_name__MarketRegistered.52bda7875b", "type": "test"}, "3028": {"name": "test.synthetix.not_null_core_market_registered_base_sepolia_sender.0ec521b301", "type": "test"}, "3029": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_contract.3347ab7e86", "type": "test"}, "3030": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_sender.40177457bd", "type": "test"}, "3031": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_timestamp.770a6f30f6", "type": "test"}, "3032": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_id.b1a35dd808", "type": "test"}, "3033": {"name": "test.synthetix.unique_core_pool_created_base_sepolia_id.bc373a2eb3", "type": "test"}, "3034": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_block_number.094a784336", "type": "test"}, "3035": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_transaction_hash.c6810d0b49", "type": "test"}, "3036": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_event_name.1dac944daf", "type": "test"}, "3037": {"name": "test.synthetix.accepted_values_core_pool_created_base_sepolia_event_name__PoolCreated.f08bef53a3", "type": "test"}, "3038": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_owner.de5ae68a1a", "type": "test"}, "3039": {"name": "test.synthetix.not_null_core_pool_created_base_sepolia_pool_id.e6e51130fd", "type": "test"}, "3040": {"name": "test.synthetix.dbt_utils_accepted_range_core_pool_created_base_sepolia_pool_id__True__0.b3e7c8b05d", "type": "test"}, "3041": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_transaction_hash.399851f94f", "type": "test"}, "3042": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_account_id.35c6ac2750", "type": "test"}, "3043": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_account_id__True__0.56bdf07961", "type": "test"}, "3044": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_collateral_type.44fc9e2622", "type": "test"}, "3045": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_event_name.5d0bea85a4", "type": "test"}, "3046": {"name": "test.synthetix.accepted_values_core_rewards_claimed_base_sepolia_event_name__RewardsClaimed.813e8d6cab", "type": "test"}, "3047": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_contract.8063e60014", "type": "test"}, "3048": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_amount.8d0b56d69c", "type": "test"}, "3049": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_amount__True__0.83b60baad2", "type": "test"}, "3050": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_distributor.cfc3ec6cdd", "type": "test"}, "3051": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_timestamp.78d8816d82", "type": "test"}, "3052": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_id.a324c0d7d4", "type": "test"}, "3053": {"name": "test.synthetix.unique_core_rewards_claimed_base_sepolia_id.b13c8534bb", "type": "test"}, "3054": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_pool_id.e61695fb4f", "type": "test"}, "3055": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_claimed_base_sepolia_pool_id__True__0.80a0443cd0", "type": "test"}, "3056": {"name": "test.synthetix.not_null_core_rewards_claimed_base_sepolia_block_number.2341e8ee42", "type": "test"}, "3057": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_id.0d42a7a31a", "type": "test"}, "3058": {"name": "test.synthetix.unique_core_rewards_distributed_base_sepolia_id.fafe19f7d9", "type": "test"}, "3059": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_event_name.e3a18ecd0c", "type": "test"}, "3060": {"name": "test.synthetix.accepted_values_core_rewards_distributed_base_sepolia_event_name__RewardsDistributed.23760c7762", "type": "test"}, "3061": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_amount.ec60c3040c", "type": "test"}, "3062": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_amount__True__0.6d7f4124f8", "type": "test"}, "3063": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_contract.b51980138b", "type": "test"}, "3064": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_timestamp.305338d6ac", "type": "test"}, "3065": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_transaction_hash.9d7346a555", "type": "test"}, "3066": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_collateral_type.d02c77e463", "type": "test"}, "3067": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_block_number.1404eb5f75", "type": "test"}, "3068": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_duration.151d5a6383", "type": "test"}, "3069": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_duration__True__0.aca43f41bf", "type": "test"}, "3070": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_distributor.8e49885144", "type": "test"}, "3071": {"name": "test.synthetix.not_null_core_rewards_distributed_base_sepolia_pool_id.618ac3407b", "type": "test"}, "3072": {"name": "test.synthetix.dbt_utils_accepted_range_core_rewards_distributed_base_sepolia_pool_id__True__0.4ad1e16907", "type": "test"}, "3073": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_amount.d577462790", "type": "test"}, "3074": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_amount__True__0.2ff0339bf6", "type": "test"}, "3075": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_pool_id.8bd0f688e5", "type": "test"}, "3076": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_pool_id__True__0.bdbba08629", "type": "test"}, "3077": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_event_name.2c789d8ccb", "type": "test"}, "3078": {"name": "test.synthetix.accepted_values_core_usd_burned_base_sepolia_event_name__UsdBurned.c736a2b5fd", "type": "test"}, "3079": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_id.9208a4e4a2", "type": "test"}, "3080": {"name": "test.synthetix.unique_core_usd_burned_base_sepolia_id.3b90c11835", "type": "test"}, "3081": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_number.9acf3a65f4", "type": "test"}, "3082": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_account_id.8014155212", "type": "test"}, "3083": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_burned_base_sepolia_account_id__True__0.1c3ad25fc6", "type": "test"}, "3084": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_sender.d28854bdf2", "type": "test"}, "3085": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_transaction_hash.07cbe78bce", "type": "test"}, "3086": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_contract.559c9a6e92", "type": "test"}, "3087": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_collateral_type.1d7071aef1", "type": "test"}, "3088": {"name": "test.synthetix.not_null_core_usd_burned_base_sepolia_block_timestamp.d6c5fafe43", "type": "test"}, "3089": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_pool_id.7dfafbe9ee", "type": "test"}, "3090": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_pool_id__True__0.49903b0695", "type": "test"}, "3091": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_timestamp.a33ebf4ef7", "type": "test"}, "3092": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_account_id.56f2a7acd7", "type": "test"}, "3093": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_account_id__True__0.8d375d28dd", "type": "test"}, "3094": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_collateral_type.028faf1711", "type": "test"}, "3095": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_block_number.37baa764ce", "type": "test"}, "3096": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_id.3fd3162bcc", "type": "test"}, "3097": {"name": "test.synthetix.unique_core_usd_minted_base_sepolia_id.9cce972c7e", "type": "test"}, "3098": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_sender.5053739593", "type": "test"}, "3099": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_amount.c1ab51fea3", "type": "test"}, "3100": {"name": "test.synthetix.dbt_utils_accepted_range_core_usd_minted_base_sepolia_amount__True__0.8db2f09ae2", "type": "test"}, "3101": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_event_name.c1bfdffc84", "type": "test"}, "3102": {"name": "test.synthetix.accepted_values_core_usd_minted_base_sepolia_event_name__UsdMinted.d686f1f1af", "type": "test"}, "3103": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_transaction_hash.04ae981572", "type": "test"}, "3104": {"name": "test.synthetix.not_null_core_usd_minted_base_sepolia_contract.ebf65a8472", "type": "test"}, "3105": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_transaction_hash.fcdcfcdcdd", "type": "test"}, "3106": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_collateral_type.18870127b8", "type": "test"}, "3107": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_pool_id.47e473f735", "type": "test"}, "3108": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_pool_id__True__0.5ea2ba7eab", "type": "test"}, "3109": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_event_name.04b05d8fa6", "type": "test"}, "3110": {"name": "test.synthetix.accepted_values_core_vault_liquidation_base_sepolia_event_name__VaultLiquidation.958e4fe8de", "type": "test"}, "3111": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_id.08162ec8b5", "type": "test"}, "3112": {"name": "test.synthetix.unique_core_vault_liquidation_base_sepolia_id.5759c475e5", "type": "test"}, "3113": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_timestamp.5c4fdcd348", "type": "test"}, "3114": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidate_as_account_id.b170dba1d3", "type": "test"}, "3115": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_liquidation_base_sepolia_liquidate_as_account_id__True__0.ee3dd8dc1e", "type": "test"}, "3116": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_liquidation_data.a5dc2b7337", "type": "test"}, "3117": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_contract.58dafa50b4", "type": "test"}, "3118": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_block_number.72d5fcf75c", "type": "test"}, "3119": {"name": "test.synthetix.not_null_core_vault_liquidation_base_sepolia_sender.2f502247e7", "type": "test"}, "3120": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_ts.78a98d96c2", "type": "test"}, "3121": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_block_number.3a3cfc3edf", "type": "test"}, "3122": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_pool_id.3607d11df2", "type": "test"}, "3123": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_pool_id__True__0.0047a9a52a", "type": "test"}, "3124": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_type.8cfa2c8f99", "type": "test"}, "3125": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_amount.ff25c0c9a0", "type": "test"}, "3126": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_amount__True__0.6d9b6133f3", "type": "test"}, "3127": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_collateral_value.30cde60b22", "type": "test"}, "3128": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_collateral_base_sepolia_collateral_value__True__0.026e20a97f", "type": "test"}, "3129": {"name": "test.synthetix.not_null_core_vault_collateral_base_sepolia_contract_address.aa0f2cd57b", "type": "test"}, "3130": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_ts.d366714ec5", "type": "test"}, "3131": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_block_number.f25dcd2c96", "type": "test"}, "3132": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_pool_id.05a1d5275c", "type": "test"}, "3133": {"name": "test.synthetix.dbt_utils_accepted_range_core_vault_debt_base_sepolia_pool_id__True__0.908dbaecbc", "type": "test"}, "3134": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_collateral_type.70a5498cf3", "type": "test"}, "3135": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_debt.9b99714e7f", "type": "test"}, "3136": {"name": "test.synthetix.not_null_core_vault_debt_base_sepolia_contract_address.a9d7ef2e2d", "type": "test"}, "3137": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_id.11a4430aff", "type": "test"}, "3138": {"name": "test.synthetix.unique_spot_order_committed_base_sepolia_id.3819dc1084", "type": "test"}, "3139": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_event_name.438812a0d2", "type": "test"}, "3140": {"name": "test.synthetix.accepted_values_spot_order_committed_base_sepolia_event_name__OrderCommitted.5b70cba35c", "type": "test"}, "3141": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_sender.4e585d7f19", "type": "test"}, "3142": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_timestamp.8c88551cb4", "type": "test"}, "3143": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_referrer.7ec29fa647", "type": "test"}, "3144": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_amount_provided.38ad18f779", "type": "test"}, "3145": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_amount_provided__True__0.054ef0ffa5", "type": "test"}, "3146": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_transaction_hash.9c446b3700", "type": "test"}, "3147": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_contract.665bb25f85", "type": "test"}, "3148": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_market_id.15c2459855", "type": "test"}, "3149": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_committed_base_sepolia_market_id__True__0.6632755b0a", "type": "test"}, "3150": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_block_number.9e8c3cbe19", "type": "test"}, "3151": {"name": "test.synthetix.not_null_spot_order_committed_base_sepolia_order_type.3954986bef", "type": "test"}, "3152": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_final_order_amount__True__0.db1eb9bae2", "type": "test"}, "3153": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_settler.3cce2227a9", "type": "test"}, "3154": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_number.65da819fda", "type": "test"}, "3155": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_transaction_hash.db4a8fd73d", "type": "test"}, "3156": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_block_timestamp.2af878ee49", "type": "test"}, "3157": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_id.41dd4b147f", "type": "test"}, "3158": {"name": "test.synthetix.unique_spot_order_settled_base_sepolia_id.d146f45657", "type": "test"}, "3159": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_order_type.aba0efecf9", "type": "test"}, "3160": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_contract.70a66ec745", "type": "test"}, "3161": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_price.5e737efecc", "type": "test"}, "3162": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_price__True__0.be79188042", "type": "test"}, "3163": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_market_id.08f8f7cfee", "type": "test"}, "3164": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_market_id__True__0.57c7ca8b8a", "type": "test"}, "3165": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_collected_fees.ce03171f19", "type": "test"}, "3166": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_settled_base_sepolia_collected_fees__True__0.7f14aa7a7b", "type": "test"}, "3167": {"name": "test.synthetix.not_null_spot_order_settled_base_sepolia_event_name.78cc82e3ab", "type": "test"}, "3168": {"name": "test.synthetix.accepted_values_spot_order_settled_base_sepolia_event_name__OrderSettled.177309ebc4", "type": "test"}, "3169": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_id.5e9a576929", "type": "test"}, "3170": {"name": "test.synthetix.unique_spot_order_cancelled_base_sepolia_id.0e40062e64", "type": "test"}, "3171": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_timestamp.fa9df55b40", "type": "test"}, "3172": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_transaction_hash.0752dd402b", "type": "test"}, "3173": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_sender.aac13d426e", "type": "test"}, "3174": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_contract.0c41210b4f", "type": "test"}, "3175": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_event_name.860a2e2098", "type": "test"}, "3176": {"name": "test.synthetix.accepted_values_spot_order_cancelled_base_sepolia_event_name__OrderCancelled.19ae93abc4", "type": "test"}, "3177": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_market_id.29f20fb008", "type": "test"}, "3178": {"name": "test.synthetix.dbt_utils_accepted_range_spot_order_cancelled_base_sepolia_market_id__True__0.256744e74d", "type": "test"}, "3179": {"name": "test.synthetix.not_null_spot_order_cancelled_base_sepolia_block_number.86a31f2f2c", "type": "test"}, "3180": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_id.82e3f87ac4", "type": "test"}, "3181": {"name": "test.synthetix.unique_spot_synth_registered_base_sepolia_id.59dadce592", "type": "test"}, "3182": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_timestamp.79c2f95be5", "type": "test"}, "3183": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_market_id.5a96ef8d3b", "type": "test"}, "3184": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_registered_base_sepolia_synth_market_id__True__0.e252f6d23b", "type": "test"}, "3185": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_block_number.bb37a01e8d", "type": "test"}, "3186": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_contract.4039370624", "type": "test"}, "3187": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_synth_token_address.9a1399c63c", "type": "test"}, "3188": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_event_name.40165b8566", "type": "test"}, "3189": {"name": "test.synthetix.accepted_values_spot_synth_registered_base_sepolia_event_name__SynthRegistered.560c96fe92", "type": "test"}, "3190": {"name": "test.synthetix.not_null_spot_synth_registered_base_sepolia_transaction_hash.0cea3ca1bf", "type": "test"}, "3191": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_collected_fees.9d30351609", "type": "test"}, "3192": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_collected_fees__True__0.1b65c16e7a", "type": "test"}, "3193": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_transaction_hash.368cb3f67e", "type": "test"}, "3194": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_synth_market_id.b1c1943367", "type": "test"}, "3195": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_synth_market_id__True__0.2be12779d3", "type": "test"}, "3196": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_number.b137c20668", "type": "test"}, "3197": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_block_timestamp.b2a61f5718", "type": "test"}, "3198": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_id.942697f903", "type": "test"}, "3199": {"name": "test.synthetix.unique_spot_synth_bought_base_sepolia_id.17a8acaf0c", "type": "test"}, "3200": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_price.d27790b16d", "type": "test"}, "3201": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_bought_base_sepolia_price__True__0.1dfcf66dee", "type": "test"}, "3202": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_contract.4678866b0c", "type": "test"}, "3203": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_referrer.4756917b09", "type": "test"}, "3204": {"name": "test.synthetix.not_null_spot_synth_bought_base_sepolia_event_name.cacb370344", "type": "test"}, "3205": {"name": "test.synthetix.accepted_values_spot_synth_bought_base_sepolia_event_name__SynthBought.3932e43413", "type": "test"}, "3206": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_event_name.24601a4262", "type": "test"}, "3207": {"name": "test.synthetix.accepted_values_spot_synth_sold_base_sepolia_event_name__SynthSold.bc9ca74c87", "type": "test"}, "3208": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_transaction_hash.a13ba6bde1", "type": "test"}, "3209": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_collected_fees.8ad9625fb0", "type": "test"}, "3210": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_collected_fees__True__0.0a04ec9ef2", "type": "test"}, "3211": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_timestamp.f3d45165ff", "type": "test"}, "3212": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_referrer.51ef2f8d16", "type": "test"}, "3213": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_block_number.17e7ff9528", "type": "test"}, "3214": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_price.88b1a85b40", "type": "test"}, "3215": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_price__True__0.cedd17dbea", "type": "test"}, "3216": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_amount_returned.c33656b778", "type": "test"}, "3217": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_amount_returned__True__0.400f957fc7", "type": "test"}, "3218": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_synth_market_id.25c988c205", "type": "test"}, "3219": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_sold_base_sepolia_synth_market_id__True__0.5175d72781", "type": "test"}, "3220": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_id.c2f7e77070", "type": "test"}, "3221": {"name": "test.synthetix.unique_spot_synth_sold_base_sepolia_id.d31e78319f", "type": "test"}, "3222": {"name": "test.synthetix.not_null_spot_synth_sold_base_sepolia_contract.8d370e2248", "type": "test"}, "3223": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_id.8905f554af", "type": "test"}, "3224": {"name": "test.synthetix.unique_spot_synth_wrapped_base_sepolia_id.159b2de78a", "type": "test"}, "3225": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_transaction_hash.7672de0496", "type": "test"}, "3226": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_synth_market_id.601db0f648", "type": "test"}, "3227": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_synth_market_id__True__0.2dfd67bc58", "type": "test"}, "3228": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_contract.d4446f0372", "type": "test"}, "3229": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_event_name.fe439b73da", "type": "test"}, "3230": {"name": "test.synthetix.accepted_values_spot_synth_wrapped_base_sepolia_event_name__SynthWrapped.031ffbb73f", "type": "test"}, "3231": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_timestamp.5b4c2eecf8", "type": "test"}, "3232": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_block_number.6d42ca2157", "type": "test"}, "3233": {"name": "test.synthetix.not_null_spot_synth_wrapped_base_sepolia_fees_collected.b6fac60b85", "type": "test"}, "3234": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_wrapped_base_sepolia_fees_collected__True__0.c2a49865fe", "type": "test"}, "3235": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_timestamp.41ba03a5b2", "type": "test"}, "3236": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_amount_unwrapped.1a220b9007", "type": "test"}, "3237": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_amount_unwrapped__True__0.8e197e25e9", "type": "test"}, "3238": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_fees_collected.c3d167c521", "type": "test"}, "3239": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_fees_collected__True__0.e56453f4c6", "type": "test"}, "3240": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_event_name.b17d6e42c7", "type": "test"}, "3241": {"name": "test.synthetix.accepted_values_spot_synth_unwrapped_base_sepolia_event_name__SynthUnwrapped.8dae19258e", "type": "test"}, "3242": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_block_number.5cfd06abfe", "type": "test"}, "3243": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_transaction_hash.2ea11780cc", "type": "test"}, "3244": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_contract.87983c1fa3", "type": "test"}, "3245": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_id.6b02b454d5", "type": "test"}, "3246": {"name": "test.synthetix.unique_spot_synth_unwrapped_base_sepolia_id.74a8e666e5", "type": "test"}, "3247": {"name": "test.synthetix.not_null_spot_synth_unwrapped_base_sepolia_synth_market_id.214a3db22f", "type": "test"}, "3248": {"name": "test.synthetix.dbt_utils_accepted_range_spot_synth_unwrapped_base_sepolia_synth_market_id__True__0.a469219bab", "type": "test"}, "3249": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_ts.e44412832a", "type": "test"}, "3250": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_pool_id.7fd59c6d8c", "type": "test"}, "3251": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_pool_id__True__0.e03ffa9a09", "type": "test"}, "3252": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_collateral_type.6ac8e6e2aa", "type": "test"}, "3253": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_distributor.7111e37b09", "type": "test"}, "3254": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_token_symbol.4bbde77781", "type": "test"}, "3255": {"name": "test.synthetix.not_null_fct_pool_rewards_eth_mainnet_amount.313b524117", "type": "test"}, "3256": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_eth_mainnet_amount__True__0.db5fff0dcd", "type": "test"}, "3257": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_ts.a916375fbd", "type": "test"}, "3258": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_account_id.9b9eed26fe", "type": "test"}, "3259": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_pool_id.f6076a6b8b", "type": "test"}, "3260": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_pool_id__True__0.35dc5bbd4b", "type": "test"}, "3261": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_collateral_type.f9b6e0e993", "type": "test"}, "3262": {"name": "test.synthetix.not_null_fct_core_account_delegation_eth_mainnet_amount_delegated.7c91dafbd8", "type": "test"}, "3263": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_eth_mainnet_amount_delegated__True__0.854bbca778", "type": "test"}, "3264": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_ts.99cae9616f", "type": "test"}, "3265": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_pool_id.c5e20f437d", "type": "test"}, "3266": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_pool_id__True__0.2e06d77a8b", "type": "test"}, "3267": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_type.0bc0302d7e", "type": "test"}, "3268": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_collateral_value.14594eca47", "type": "test"}, "3269": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_collateral_value__True__0.b44f8cd90f", "type": "test"}, "3270": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_debt.14b9039622", "type": "test"}, "3271": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_issuance.d21fe7e33b", "type": "test"}, "3272": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_debt_migrated.1606ded24b", "type": "test"}, "3273": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl.6570b2bdb2", "type": "test"}, "3274": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_pnl.4a739c13a4", "type": "test"}, "3275": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_cumulative_issuance.ab1f8da889", "type": "test"}, "3276": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_rewards_usd.e91f21e2d5", "type": "test"}, "3277": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_rewards_usd__True__0.0ccd0edcb4", "type": "test"}, "3278": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_pnl_pct.b582b1f1e2", "type": "test"}, "3279": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_pnl_pct__True__1___1.573c85fbab", "type": "test"}, "3280": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_hourly_rewards_pct.284fa06b64", "type": "test"}, "3281": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_eth_mainnet_hourly_rewards_pct__True__1__0.a383e39737", "type": "test"}, "3282": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_24h.1e94a76b1e", "type": "test"}, "3283": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_24h.b52a8fd842", "type": "test"}, "3284": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_7d.35bc5cfb13", "type": "test"}, "3285": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_7d.08d703cbb6", "type": "test"}, "3286": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apr_28d.8dfb1e005a", "type": "test"}, "3287": {"name": "test.synthetix.not_null_fct_core_apr_eth_mainnet_apy_28d.053e0eda01", "type": "test"}, "3288": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_id.7444e98615", "type": "test"}, "3289": {"name": "test.synthetix.unique_fct_core_market_updated_eth_mainnet_id.d5c16089e9", "type": "test"}, "3290": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_ts.950a116067", "type": "test"}, "3291": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_transaction_hash.f31c00e39e", "type": "test"}, "3292": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_event_name.e682d1b7d5", "type": "test"}, "3293": {"name": "test.synthetix.accepted_values_fct_core_market_updated_eth_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f0e721a249", "type": "test"}, "3294": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_market_id.9fbceacdbc", "type": "test"}, "3295": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_eth_mainnet_market_id__True__0.32701334f3", "type": "test"}, "3296": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_collateral_type.fbe59aeb13", "type": "test"}, "3297": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_credit_capacity.bc652bf021", "type": "test"}, "3298": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_net_issuance.95ea8efb4e", "type": "test"}, "3299": {"name": "test.synthetix.not_null_fct_core_market_updated_eth_mainnet_token_amount.fe11f0ce69", "type": "test"}, "3300": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_ts.61a1043b04", "type": "test"}, "3301": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_collateral_type.217e5cb420", "type": "test"}, "3302": {"name": "test.synthetix.not_null_fct_core_pool_collateral_eth_mainnet_amount_deposited.b943283ec6", "type": "test"}, "3303": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_ts.4c81cbc76a", "type": "test"}, "3304": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_pool_id.38ebfdf86f", "type": "test"}, "3305": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_eth_mainnet_pool_id__True__0.8087f39696", "type": "test"}, "3306": {"name": "test.synthetix.not_null_fct_core_pool_delegation_eth_mainnet_collateral_type.687e523e9a", "type": "test"}, "3307": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_id.ac06cb59ca", "type": "test"}, "3308": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_eth_mainnet_id__True__0.e529c0ad91", "type": "test"}, "3309": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_created_ts.85e7c6f7d7", "type": "test"}, "3310": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_block_number.d5795e3469", "type": "test"}, "3311": {"name": "test.synthetix.not_null_fct_core_pools_eth_mainnet_owner.13db5fad75", "type": "test"}, "3312": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_ts.0a20d36f28", "type": "test"}, "3313": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_block_number.d707149fdd", "type": "test"}, "3314": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_pool_id.088122bb77", "type": "test"}, "3315": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_eth_mainnet_pool_id__True__0.9ab83c23dd", "type": "test"}, "3316": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_collateral_type.2f39d51963", "type": "test"}, "3317": {"name": "test.synthetix.not_null_fct_pool_debt_eth_mainnet_debt.100ad3cae1", "type": "test"}, "3318": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_ts.d84f234266", "type": "test"}, "3319": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_pool_id.0bd0e6635e", "type": "test"}, "3320": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_eth_mainnet_pool_id__True__0.2f6d1cabb6", "type": "test"}, "3321": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_collateral_type.04853a2f55", "type": "test"}, "3322": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_eth_mainnet_hourly_issuance.3ee79944a3", "type": "test"}, "3323": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_ts.5f32fba981", "type": "test"}, "3324": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_block_number.76ac645e79", "type": "test"}, "3325": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_transaction_hash.801e733838", "type": "test"}, "3326": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_pool_id.fd6c3981fe", "type": "test"}, "3327": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_eth_mainnet_pool_id__True__0.c3af88d954", "type": "test"}, "3328": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_collateral_type.9e0a6d3551", "type": "test"}, "3329": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_account_id.d686918ab7", "type": "test"}, "3330": {"name": "test.synthetix.not_null_fct_pool_issuance_eth_mainnet_amount.4a0d8649af", "type": "test"}, "3331": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_ts.2a846b2bb8", "type": "test"}, "3332": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_pool_id.d4b3c4be36", "type": "test"}, "3333": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_pool_id__True__0.ad130b0c2f", "type": "test"}, "3334": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_type.8346dc5b9e", "type": "test"}, "3335": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_collateral_value.bf72ec5191", "type": "test"}, "3336": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_collateral_value__True__0.aa5cf487aa", "type": "test"}, "3337": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_debt.34ed8f7e19", "type": "test"}, "3338": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_issuance.d981b1941f", "type": "test"}, "3339": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl.aef91ccc24", "type": "test"}, "3340": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_debt_migrated.b2364c3711", "type": "test"}, "3341": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_rewards_usd.8fd34c30e5", "type": "test"}, "3342": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_rewards_usd__True__0.80c1c42490", "type": "test"}, "3343": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct.d9b73c59f7", "type": "test"}, "3344": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_pnl_pct__True__1___1.ad0a057625", "type": "test"}, "3345": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct.d8b6a6177f", "type": "test"}, "3346": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_eth_mainnet_hourly_rewards_pct__True__1__0.b431022b52", "type": "test"}, "3347": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_eth_mainnet_hourly_total_pct.b8f62bde16", "type": "test"}, "3348": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_ts.89ba67bb4f", "type": "test"}, "3349": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_pool_id.7f91755bfb", "type": "test"}, "3350": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_pool_id__True__0.208ead2f02", "type": "test"}, "3351": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_collateral_type.1949d93db9", "type": "test"}, "3352": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_eth_mainnet_rewards_usd.3095906515", "type": "test"}, "3353": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_eth_mainnet_rewards_usd__True__0.2e789c32db", "type": "test"}, "3354": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_ts.667157dbf6", "type": "test"}, "3355": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_pool_id.69049a093a", "type": "test"}, "3356": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_pool_id__True__0.0f059b9a12", "type": "test"}, "3357": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_collateral_type.22ec7c38ba", "type": "test"}, "3358": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_distributor.a65a6d19bf", "type": "test"}, "3359": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_token_symbol.609ae29f03", "type": "test"}, "3360": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_price.89f536fe6c", "type": "test"}, "3361": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_price__True__0.3b4b47afcc", "type": "test"}, "3362": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount.701c4a765f", "type": "test"}, "3363": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_hourly_amount__True__0.76ed6e76ab", "type": "test"}, "3364": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed.3faeed6846", "type": "test"}, "3365": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_amount_distributed__True__0.26815f50d4", "type": "test"}, "3366": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd.84778cf230", "type": "test"}, "3367": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_eth_mainnet_rewards_usd__True__0.0d8876b70b", "type": "test"}, "3368": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_ts.4a5f6995ac", "type": "test"}, "3369": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_block_number.9a454098b0", "type": "test"}, "3370": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_transaction_hash.15435ec6a4", "type": "test"}, "3371": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_pool_id.f0e6b5266e", "type": "test"}, "3372": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_pool_id__True__1__1.451aedc606", "type": "test"}, "3373": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_type.d3ff39474d", "type": "test"}, "3374": {"name": "test.synthetix.accepted_values_fct_core_migration_eth_mainnet_collateral_type__0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F.a38946ae0c", "type": "test"}, "3375": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_staker.745012ec35", "type": "test"}, "3376": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_account_id.afcffa2df1", "type": "test"}, "3377": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_collateral_amount.0b05c3add8", "type": "test"}, "3378": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_eth_mainnet_collateral_amount__True__0.049cad30eb", "type": "test"}, "3379": {"name": "test.synthetix.not_null_fct_core_migration_eth_mainnet_debt_amount.8b36e762c2", "type": "test"}, "3380": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_ts.a201c86ec0", "type": "test"}, "3381": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_pool_id.55def21e95", "type": "test"}, "3382": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_pool_id__True__0.a0670cc5c1", "type": "test"}, "3383": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_collateral_type.e0ef271f9a", "type": "test"}, "3384": {"name": "test.synthetix.not_null_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated.99b91b00b5", "type": "test"}, "3385": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_migration_hourly_eth_mainnet_hourly_debt_migrated__True__0.2c5355cf5c", "type": "test"}, "3386": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_ts.4a1a2f8c2d", "type": "test"}, "3387": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_market_symbol.f1f5318f4a", "type": "test"}, "3388": {"name": "test.synthetix.not_null_fct_prices_eth_mainnet_price.fff835950c", "type": "test"}, "3389": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_eth_mainnet_price__True__0.4a537a60cd", "type": "test"}, "3390": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_ts.6f3aced404", "type": "test"}, "3391": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_market_symbol.dad998df0c", "type": "test"}, "3392": {"name": "test.synthetix.not_null_fct_prices_hourly_eth_mainnet_price.f438a75278", "type": "test"}, "3393": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_eth_mainnet_price__True__0.7cc073306d", "type": "test"}, "3394": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_ts.19a49fa7ad", "type": "test"}, "3395": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_pool_id.ed851987e8", "type": "test"}, "3396": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_pool_id__True__0.071c26474c", "type": "test"}, "3397": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_collateral_type.d5a70bb05b", "type": "test"}, "3398": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_distributor.78e1e8f668", "type": "test"}, "3399": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_token_symbol.0fd511c8cb", "type": "test"}, "3400": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_mainnet_amount.5d537baae4", "type": "test"}, "3401": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_mainnet_amount__True__0.debd774d66", "type": "test"}, "3402": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_ts.47ea299d3f", "type": "test"}, "3403": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_account_id.bd5bdf25e3", "type": "test"}, "3404": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_pool_id.54d8a339d7", "type": "test"}, "3405": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_pool_id__True__0.aa7ddfc925", "type": "test"}, "3406": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_collateral_type.2ce3f7a9bb", "type": "test"}, "3407": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_mainnet_amount_delegated.56c41128cd", "type": "test"}, "3408": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_mainnet_amount_delegated__True__0.f003c4fdae", "type": "test"}, "3409": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_ts.97e8b55304", "type": "test"}, "3410": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_pool_id.6f62001f11", "type": "test"}, "3411": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_pool_id__True__0.8a8c4f782b", "type": "test"}, "3412": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_type.063adda35b", "type": "test"}, "3413": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_collateral_value.21b8ffe226", "type": "test"}, "3414": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_collateral_value__True__0.ffb99e9e0a", "type": "test"}, "3415": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_debt.3dc045078a", "type": "test"}, "3416": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_issuance.80329841e3", "type": "test"}, "3417": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl.cca97779a8", "type": "test"}, "3418": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_pnl.3aeb9de820", "type": "test"}, "3419": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_cumulative_issuance.e1798a309e", "type": "test"}, "3420": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_rewards_usd.382bc038bb", "type": "test"}, "3421": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_rewards_usd__True__0.1ddf38024d", "type": "test"}, "3422": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct.fb9fdebdde", "type": "test"}, "3423": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_pnl_pct__True__1___1.1b8022dfc1", "type": "test"}, "3424": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct.c370595c99", "type": "test"}, "3425": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_mainnet_hourly_rewards_pct__True__1__0.f1335e174b", "type": "test"}, "3426": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_24h.8106520838", "type": "test"}, "3427": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_24h.83d96a1a08", "type": "test"}, "3428": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_7d.06f4c6a6e1", "type": "test"}, "3429": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_7d.cf96fd9428", "type": "test"}, "3430": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apr_28d.964b18810e", "type": "test"}, "3431": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_mainnet_apy_28d.fa829d9ef7", "type": "test"}, "3432": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_id.322013511a", "type": "test"}, "3433": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_mainnet_id.1caa9c591c", "type": "test"}, "3434": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_ts.b5fc2ec12e", "type": "test"}, "3435": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_transaction_hash.aa748b5290", "type": "test"}, "3436": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_event_name.5590c6c9b0", "type": "test"}, "3437": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.0bf85002ba", "type": "test"}, "3438": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_market_id.286e3a43cf", "type": "test"}, "3439": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_mainnet_market_id__True__0.23d58ffdfe", "type": "test"}, "3440": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_collateral_type.85f2ad0cb4", "type": "test"}, "3441": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_credit_capacity.03f2d72a75", "type": "test"}, "3442": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_net_issuance.c0d40f9ece", "type": "test"}, "3443": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_mainnet_token_amount.74526c215d", "type": "test"}, "3444": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_ts.e1e47715a3", "type": "test"}, "3445": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_collateral_type.6824e3181d", "type": "test"}, "3446": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_mainnet_amount_deposited.e481f3fc24", "type": "test"}, "3447": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_ts.5d96538438", "type": "test"}, "3448": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_pool_id.fe0fca7194", "type": "test"}, "3449": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_mainnet_pool_id__True__0.cc3901412b", "type": "test"}, "3450": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_mainnet_collateral_type.d924f2d2aa", "type": "test"}, "3451": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_id.61336667c3", "type": "test"}, "3452": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_mainnet_id__True__0.913c01840d", "type": "test"}, "3453": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_created_ts.b08fc3c233", "type": "test"}, "3454": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_block_number.7aac324156", "type": "test"}, "3455": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_mainnet_owner.4cc2187f96", "type": "test"}, "3456": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_ts.aac8a7264c", "type": "test"}, "3457": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_block_number.f6d01f24fd", "type": "test"}, "3458": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_pool_id.dc562b5c31", "type": "test"}, "3459": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_mainnet_pool_id__True__0.15db752b00", "type": "test"}, "3460": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_collateral_type.a3b9300e6c", "type": "test"}, "3461": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_mainnet_debt.5ff363252c", "type": "test"}, "3462": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_ts.9170e8931e", "type": "test"}, "3463": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id.ad0bc3744f", "type": "test"}, "3464": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_mainnet_pool_id__True__0.24b97cc6ba", "type": "test"}, "3465": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_collateral_type.5b444b3e9d", "type": "test"}, "3466": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_mainnet_hourly_issuance.dcbdd9b577", "type": "test"}, "3467": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_ts.6d52d9f09c", "type": "test"}, "3468": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_block_number.954a0fdf17", "type": "test"}, "3469": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_transaction_hash.6a8e54c252", "type": "test"}, "3470": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_pool_id.0706d99bc3", "type": "test"}, "3471": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_mainnet_pool_id__True__0.411a2ea602", "type": "test"}, "3472": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_collateral_type.ba8bb06771", "type": "test"}, "3473": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_account_id.2adc95113c", "type": "test"}, "3474": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_mainnet_amount.375d9b98af", "type": "test"}, "3475": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_ts.b23b3c4ccc", "type": "test"}, "3476": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id.e6c4e35168", "type": "test"}, "3477": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_pool_id__True__0.82a420e70a", "type": "test"}, "3478": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_type.5b16d63899", "type": "test"}, "3479": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value.d293fcea90", "type": "test"}, "3480": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_collateral_value__True__0.2e110c1268", "type": "test"}, "3481": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_debt.9ac5b9bf5c", "type": "test"}, "3482": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_issuance.5511774a0b", "type": "test"}, "3483": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl.678864f7b5", "type": "test"}, "3484": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd.196b421cb3", "type": "test"}, "3485": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_rewards_usd__True__0.636294733f", "type": "test"}, "3486": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct.860b962ff4", "type": "test"}, "3487": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_pnl_pct__True__1___1.5893ffde97", "type": "test"}, "3488": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct.8068a50a34", "type": "test"}, "3489": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_rewards_pct__True__1__0.c0f135f71a", "type": "test"}, "3490": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_mainnet_hourly_total_pct.2ba37617f1", "type": "test"}, "3491": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_ts.55c84a8938", "type": "test"}, "3492": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id.3237fb1ab1", "type": "test"}, "3493": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_pool_id__True__0.4d32e65287", "type": "test"}, "3494": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_collateral_type.490293ba7d", "type": "test"}, "3495": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd.f0877fa7b3", "type": "test"}, "3496": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_mainnet_rewards_usd__True__0.d689f56d7e", "type": "test"}, "3497": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_ts.22756175d0", "type": "test"}, "3498": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id.35527b8712", "type": "test"}, "3499": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_pool_id__True__0.4ed8a94f92", "type": "test"}, "3500": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_collateral_type.dee4fdda32", "type": "test"}, "3501": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_distributor.a9383020e8", "type": "test"}, "3502": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_token_symbol.0f93337098", "type": "test"}, "3503": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_price.e94408c4a3", "type": "test"}, "3504": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_price__True__0.bd113fbed7", "type": "test"}, "3505": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount.1f06d81670", "type": "test"}, "3506": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_hourly_amount__True__0.e75762e0c1", "type": "test"}, "3507": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed.0abef6eb56", "type": "test"}, "3508": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_amount_distributed__True__0.7447bf410c", "type": "test"}, "3509": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd.38626f59b3", "type": "test"}, "3510": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_mainnet_rewards_usd__True__0.034dbdbb73", "type": "test"}, "3511": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_ts.3133817d65", "type": "test"}, "3512": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_block_number.bf6d504d6f", "type": "test"}, "3513": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_synth_market_id.9ef357e324", "type": "test"}, "3514": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_mainnet_synth_market_id__True__0.214f52024f", "type": "test"}, "3515": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_mainnet_supply.4f38308508", "type": "test"}, "3516": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_id.58d62fa75b", "type": "test"}, "3517": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_mainnet_id.103cfc1fee", "type": "test"}, "3518": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_ts.8faded4450", "type": "test"}, "3519": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_block_number.4090627930", "type": "test"}, "3520": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_tx_hash.fc4480c793", "type": "test"}, "3521": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_synth_market_id.3ce730fbe0", "type": "test"}, "3522": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_mainnet_synth_market_id__True__0.a856a28abf", "type": "test"}, "3523": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_price.8c5fac0d4b", "type": "test"}, "3524": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_amount.2a29d582dd", "type": "test"}, "3525": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_mainnet_referrer.8f3d6e7ca8", "type": "test"}, "3526": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_id.0f47b50907", "type": "test"}, "3527": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_mainnet_id__True__0.fc6e00e4d7", "type": "test"}, "3528": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_created_ts.d20eea3054", "type": "test"}, "3529": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_block_number.8e6492baa4", "type": "test"}, "3530": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_mainnet_token_address.19fe19c198", "type": "test"}, "3531": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_id.4d99f875a3", "type": "test"}, "3532": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_mainnet_id.2107017636", "type": "test"}, "3533": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_ts.91d9f782bb", "type": "test"}, "3534": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_block_number.d1c04e4c89", "type": "test"}, "3535": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_tx_hash.4401566d1f", "type": "test"}, "3536": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_synth_market_id.f0195bb21f", "type": "test"}, "3537": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_mainnet_synth_market_id__True__0.f6decdacf4", "type": "test"}, "3538": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_mainnet_amount_wrapped.f91b4eedc8", "type": "test"}, "3539": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_ts.2fbdc0fed9", "type": "test"}, "3540": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_market_symbol.2c3e729969", "type": "test"}, "3541": {"name": "test.synthetix.not_null_fct_prices_arbitrum_mainnet_price.0a15cd9a88", "type": "test"}, "3542": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_mainnet_price__True__0.2dcde08f36", "type": "test"}, "3543": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_ts.125ef9fa4d", "type": "test"}, "3544": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_market_symbol.b0ef15f205", "type": "test"}, "3545": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_mainnet_price.cc751acae1", "type": "test"}, "3546": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_mainnet_price__True__0.a6e6a0e3ce", "type": "test"}, "3547": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_ts.58ba7f8051", "type": "test"}, "3548": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_pool_id.7e25d73251", "type": "test"}, "3549": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_pool_id__True__0.82e7a1605d", "type": "test"}, "3550": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_collateral_type.9b8cfcd53f", "type": "test"}, "3551": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_distributor.575416cf09", "type": "test"}, "3552": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_token_symbol.6e44e80815", "type": "test"}, "3553": {"name": "test.synthetix.not_null_fct_pool_rewards_arbitrum_sepolia_amount.2019cf2384", "type": "test"}, "3554": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_arbitrum_sepolia_amount__True__0.7328694eba", "type": "test"}, "3555": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_ts.143d36cd88", "type": "test"}, "3556": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_account_id.a6811a48a4", "type": "test"}, "3557": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_pool_id.0a7b37ae8c", "type": "test"}, "3558": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_pool_id__True__0.8b1dae49a3", "type": "test"}, "3559": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_collateral_type.c996bc8d62", "type": "test"}, "3560": {"name": "test.synthetix.not_null_fct_core_account_delegation_arbitrum_sepolia_amount_delegated.f883895d2a", "type": "test"}, "3561": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_arbitrum_sepolia_amount_delegated__True__0.b9f7312790", "type": "test"}, "3562": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_ts.e6b3476db0", "type": "test"}, "3563": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_pool_id.58add87a89", "type": "test"}, "3564": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_pool_id__True__0.a2269ae87b", "type": "test"}, "3565": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_type.a646b7cb26", "type": "test"}, "3566": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_collateral_value.2ada9cf10f", "type": "test"}, "3567": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_collateral_value__True__0.fdfbc111a3", "type": "test"}, "3568": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_debt.9b76325181", "type": "test"}, "3569": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_issuance.18ef26f177", "type": "test"}, "3570": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl.d189c809ff", "type": "test"}, "3571": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_pnl.4b337f056f", "type": "test"}, "3572": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_cumulative_issuance.574d2a783c", "type": "test"}, "3573": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_rewards_usd.ae2ea707de", "type": "test"}, "3574": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_rewards_usd__True__0.16097a4425", "type": "test"}, "3575": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct.e663f8a83d", "type": "test"}, "3576": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_pnl_pct__True__1___1.71d905126b", "type": "test"}, "3577": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct.12f359d425", "type": "test"}, "3578": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_arbitrum_sepolia_hourly_rewards_pct__True__1__0.573ad6f791", "type": "test"}, "3579": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_24h.70ceb15524", "type": "test"}, "3580": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_24h.cc6a60bf0d", "type": "test"}, "3581": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_7d.9df14e1133", "type": "test"}, "3582": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_7d.d37e5ab6c3", "type": "test"}, "3583": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apr_28d.1273ef3c47", "type": "test"}, "3584": {"name": "test.synthetix.not_null_fct_core_apr_arbitrum_sepolia_apy_28d.c90acf86f3", "type": "test"}, "3585": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_id.378db4cf74", "type": "test"}, "3586": {"name": "test.synthetix.unique_fct_core_market_updated_arbitrum_sepolia_id.8dc27d8b84", "type": "test"}, "3587": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_ts.b76a8ffb56", "type": "test"}, "3588": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_transaction_hash.45d8547f52", "type": "test"}, "3589": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_event_name.4419326334", "type": "test"}, "3590": {"name": "test.synthetix.accepted_values_fct_core_market_updated_arbitrum_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.ea1df73130", "type": "test"}, "3591": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_market_id.2752afabd6", "type": "test"}, "3592": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_arbitrum_sepolia_market_id__True__0.95e420ef94", "type": "test"}, "3593": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_collateral_type.d8f0899c66", "type": "test"}, "3594": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_credit_capacity.9862e1aaee", "type": "test"}, "3595": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_net_issuance.62f7b3daca", "type": "test"}, "3596": {"name": "test.synthetix.not_null_fct_core_market_updated_arbitrum_sepolia_token_amount.4d14e4bb21", "type": "test"}, "3597": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_ts.33284497f5", "type": "test"}, "3598": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_collateral_type.05d462c474", "type": "test"}, "3599": {"name": "test.synthetix.not_null_fct_core_pool_collateral_arbitrum_sepolia_amount_deposited.feb182d7c0", "type": "test"}, "3600": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_ts.f1e8f35f9b", "type": "test"}, "3601": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_pool_id.58ecabbbb6", "type": "test"}, "3602": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_arbitrum_sepolia_pool_id__True__0.72a7f44e62", "type": "test"}, "3603": {"name": "test.synthetix.not_null_fct_core_pool_delegation_arbitrum_sepolia_collateral_type.866b468c25", "type": "test"}, "3604": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_id.0242b18493", "type": "test"}, "3605": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_arbitrum_sepolia_id__True__0.d4e586601a", "type": "test"}, "3606": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_created_ts.56d3c1e25b", "type": "test"}, "3607": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_block_number.8044e9af90", "type": "test"}, "3608": {"name": "test.synthetix.not_null_fct_core_pools_arbitrum_sepolia_owner.5ee993817b", "type": "test"}, "3609": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_ts.0ce19a05b3", "type": "test"}, "3610": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_block_number.9fe11ea9dd", "type": "test"}, "3611": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_pool_id.4539ef9df3", "type": "test"}, "3612": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_arbitrum_sepolia_pool_id__True__0.ec7d22b029", "type": "test"}, "3613": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_collateral_type.a6fdff57f4", "type": "test"}, "3614": {"name": "test.synthetix.not_null_fct_pool_debt_arbitrum_sepolia_debt.652029afcf", "type": "test"}, "3615": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_ts.1cc52a2fae", "type": "test"}, "3616": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id.cf6825af38", "type": "test"}, "3617": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_arbitrum_sepolia_pool_id__True__0.1156081282", "type": "test"}, "3618": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_collateral_type.56203ac00f", "type": "test"}, "3619": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_arbitrum_sepolia_hourly_issuance.24747bdf20", "type": "test"}, "3620": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_ts.94cc660ca9", "type": "test"}, "3621": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_block_number.7b40b6a61f", "type": "test"}, "3622": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_transaction_hash.333c0c5e61", "type": "test"}, "3623": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_pool_id.2084f5f832", "type": "test"}, "3624": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_arbitrum_sepolia_pool_id__True__0.0ec85b0399", "type": "test"}, "3625": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_collateral_type.aef6de9ec1", "type": "test"}, "3626": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_account_id.45720a8ffb", "type": "test"}, "3627": {"name": "test.synthetix.not_null_fct_pool_issuance_arbitrum_sepolia_amount.43a9be48cb", "type": "test"}, "3628": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_ts.a70d2ff18c", "type": "test"}, "3629": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id.aa93d2af52", "type": "test"}, "3630": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_pool_id__True__0.2553f9acd9", "type": "test"}, "3631": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_type.ad28430a8b", "type": "test"}, "3632": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value.4feda18e6e", "type": "test"}, "3633": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_collateral_value__True__0.8f44ccf6a8", "type": "test"}, "3634": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_debt.064b4f1aa0", "type": "test"}, "3635": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_issuance.98a21247a9", "type": "test"}, "3636": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl.71c511680d", "type": "test"}, "3637": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd.de45431bfe", "type": "test"}, "3638": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_rewards_usd__True__0.c70c3ef6d1", "type": "test"}, "3639": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct.cfa91548b1", "type": "test"}, "3640": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_pnl_pct__True__1___1.758a1bd318", "type": "test"}, "3641": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct.85b61a0a46", "type": "test"}, "3642": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_rewards_pct__True__1__0.155d04b096", "type": "test"}, "3643": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_arbitrum_sepolia_hourly_total_pct.57d5efdf83", "type": "test"}, "3644": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_ts.c0fe0cb40b", "type": "test"}, "3645": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id.a84969537b", "type": "test"}, "3646": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_pool_id__True__0.550e7516ff", "type": "test"}, "3647": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_collateral_type.e8435924a6", "type": "test"}, "3648": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd.a8bf6b50cf", "type": "test"}, "3649": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_arbitrum_sepolia_rewards_usd__True__0.29163ebf9c", "type": "test"}, "3650": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_ts.408bc991e9", "type": "test"}, "3651": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id.c9c0638ac8", "type": "test"}, "3652": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_pool_id__True__0.dc85f8adb9", "type": "test"}, "3653": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_collateral_type.6bd3efb9ab", "type": "test"}, "3654": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_distributor.57d35a371e", "type": "test"}, "3655": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_token_symbol.43135a2a58", "type": "test"}, "3656": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_price.8b9f940b5a", "type": "test"}, "3657": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_price__True__0.03fbb6a68c", "type": "test"}, "3658": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount.a128c8eb69", "type": "test"}, "3659": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_hourly_amount__True__0.b67f19c73b", "type": "test"}, "3660": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed.92aa5d68ee", "type": "test"}, "3661": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_amount_distributed__True__0.a2ebbe6544", "type": "test"}, "3662": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd.a4c3a5bd6d", "type": "test"}, "3663": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_arbitrum_sepolia_rewards_usd__True__0.1aeeb784bf", "type": "test"}, "3664": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_ts.27dc7912ff", "type": "test"}, "3665": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_block_number.f392305688", "type": "test"}, "3666": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_synth_market_id.4a2d305755", "type": "test"}, "3667": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_arbitrum_sepolia_synth_market_id__True__0.e33f94430c", "type": "test"}, "3668": {"name": "test.synthetix.not_null_fct_synth_supply_arbitrum_sepolia_supply.e3a1577f38", "type": "test"}, "3669": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_id.491922c0de", "type": "test"}, "3670": {"name": "test.synthetix.unique_fct_spot_atomics_arbitrum_sepolia_id.ac19d3d198", "type": "test"}, "3671": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_ts.892f2a57c7", "type": "test"}, "3672": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_block_number.8b344f291a", "type": "test"}, "3673": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_tx_hash.e8c13a9755", "type": "test"}, "3674": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_synth_market_id.b6c3e19705", "type": "test"}, "3675": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_arbitrum_sepolia_synth_market_id__True__0.783d66767d", "type": "test"}, "3676": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_price.685e079a35", "type": "test"}, "3677": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_amount.08628c0e8d", "type": "test"}, "3678": {"name": "test.synthetix.not_null_fct_spot_atomics_arbitrum_sepolia_referrer.ab47b8a4dc", "type": "test"}, "3679": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_id.8e20da3df9", "type": "test"}, "3680": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_arbitrum_sepolia_id__True__0.181ee7b620", "type": "test"}, "3681": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_created_ts.d5e3080b9d", "type": "test"}, "3682": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_block_number.50ad9758fc", "type": "test"}, "3683": {"name": "test.synthetix.not_null_fct_spot_markets_arbitrum_sepolia_token_address.1b182f5b09", "type": "test"}, "3684": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_id.e4af3a2e01", "type": "test"}, "3685": {"name": "test.synthetix.unique_fct_spot_wrapper_arbitrum_sepolia_id.ef7877efab", "type": "test"}, "3686": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_ts.cac57bdf22", "type": "test"}, "3687": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_block_number.11ac634180", "type": "test"}, "3688": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_tx_hash.bc4c1e86f4", "type": "test"}, "3689": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_synth_market_id.73a4297f2a", "type": "test"}, "3690": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_arbitrum_sepolia_synth_market_id__True__0.38952f7e02", "type": "test"}, "3691": {"name": "test.synthetix.not_null_fct_spot_wrapper_arbitrum_sepolia_amount_wrapped.77a6a551fc", "type": "test"}, "3692": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_ts.a139176cd1", "type": "test"}, "3693": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_market_symbol.5499da1cc7", "type": "test"}, "3694": {"name": "test.synthetix.not_null_fct_prices_arbitrum_sepolia_price.45fcd4b484", "type": "test"}, "3695": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_arbitrum_sepolia_price__True__0.cd20dabe63", "type": "test"}, "3696": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_ts.45b8cdbd25", "type": "test"}, "3697": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_market_symbol.6b1d78c094", "type": "test"}, "3698": {"name": "test.synthetix.not_null_fct_prices_hourly_arbitrum_sepolia_price.774a8eccfb", "type": "test"}, "3699": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_arbitrum_sepolia_price__True__0.e322ab3e73", "type": "test"}, "3700": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_id.a798ff42d8", "type": "test"}, "3701": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_mainnet_id.31ca39738f", "type": "test"}, "3702": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_timestamp.60136d09c1", "type": "test"}, "3703": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_block_number.47e9d47bb4", "type": "test"}, "3704": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_transaction_hash.f85d4df49f", "type": "test"}, "3705": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_contract.8e7dd8a6ef", "type": "test"}, "3706": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_event_name.eaf9eac9c3", "type": "test"}, "3707": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_mainnet_event_name__InterestCharged.b8b39fbb4d", "type": "test"}, "3708": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_account_id.2830ac0b93", "type": "test"}, "3709": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_account_id__True__0.d4da8249b8", "type": "test"}, "3710": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_mainnet_interest.073a973712", "type": "test"}, "3711": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_mainnet_interest__True__0.b25a9c1b50", "type": "test"}, "3712": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_id.efa9bbeec9", "type": "test"}, "3713": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_mainnet_id.9010e87027", "type": "test"}, "3714": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_timestamp.7c5c8a362c", "type": "test"}, "3715": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_block_number.45b34bf575", "type": "test"}, "3716": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_transaction_hash.8cc455d504", "type": "test"}, "3717": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_contract.f078950840", "type": "test"}, "3718": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_event_name.44267a4fa1", "type": "test"}, "3719": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_mainnet_event_name__CollateralModified.00f5016782", "type": "test"}, "3720": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_synth_market_id.3a3dffb920", "type": "test"}, "3721": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_mainnet_synth_market_id__True__0.644f81887d", "type": "test"}, "3722": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_mainnet_sender.b3270f32cc", "type": "test"}, "3723": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_id.627b6b6b63", "type": "test"}, "3724": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_mainnet_id.220846a37a", "type": "test"}, "3725": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_timestamp.da7b51b840", "type": "test"}, "3726": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_block_number.89b98bd9a2", "type": "test"}, "3727": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_transaction_hash.573aaff2f5", "type": "test"}, "3728": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_contract.bd6be0f02f", "type": "test"}, "3729": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_event_name.473a967d1d", "type": "test"}, "3730": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_mainnet_event_name__PreviousOrderExpired.1769035769", "type": "test"}, "3731": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_market_id.8bf9effd5e", "type": "test"}, "3732": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_market_id__True__0.59d73bf004", "type": "test"}, "3733": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_mainnet_account_id.e7aae917c2", "type": "test"}, "3734": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_mainnet_account_id__True__0.0f31e1095c", "type": "test"}, "3735": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_id.35375a8491", "type": "test"}, "3736": {"name": "test.synthetix.unique_fct_perp_trades_base_mainnet_id.b1b63119eb", "type": "test"}, "3737": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_ts.e5e75d9d71", "type": "test"}, "3738": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_block_number.474b7643d0", "type": "test"}, "3739": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_transaction_hash.b1e9287d28", "type": "test"}, "3740": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_contract.8897e47e7e", "type": "test"}, "3741": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_id.6ea4246016", "type": "test"}, "3742": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_market_id__True__0.585f613862", "type": "test"}, "3743": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_market_symbol.e75d95d12c", "type": "test"}, "3744": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_account_id.8a94516fd9", "type": "test"}, "3745": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_fill_price.e731328206", "type": "test"}, "3746": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_fill_price__True__0.3edbbda7ae", "type": "test"}, "3747": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_pnl.e87ee65983", "type": "test"}, "3748": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_accrued_funding.f6a962643b", "type": "test"}, "3749": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_trade_size.2a003017e9", "type": "test"}, "3750": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_position_size.a687f5c9e4", "type": "test"}, "3751": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_total_fees.73178c801b", "type": "test"}, "3752": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_total_fees__True__0.37a3c34f6a", "type": "test"}, "3753": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_referral_fees.8c5c0f55a4", "type": "test"}, "3754": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_referral_fees__True__0.09a87481d6", "type": "test"}, "3755": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_collected_fees.1888a67b67", "type": "test"}, "3756": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_collected_fees__True__0.cec844302b", "type": "test"}, "3757": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settlement_reward.c472f75c36", "type": "test"}, "3758": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_settlement_reward__True__0.56c953ccdc", "type": "test"}, "3759": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_tracking_code.3b557b440d", "type": "test"}, "3760": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_settler.cebd15f3ad", "type": "test"}, "3761": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_trade_size.25efead997", "type": "test"}, "3762": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_notional_position_size.549d1d1b0b", "type": "test"}, "3763": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_lp_fees.1da0034ac9", "type": "test"}, "3764": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_lp_fees__True__0.67c14ce54a", "type": "test"}, "3765": {"name": "test.synthetix.not_null_fct_perp_trades_base_mainnet_exchange_fees.5a4c21716f", "type": "test"}, "3766": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_mainnet_exchange_fees__True__0.43ef826334", "type": "test"}, "3767": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_ts.aa0943ea1a", "type": "test"}, "3768": {"name": "test.synthetix.not_null_fct_perp_pnl_base_mainnet_market_id.915c961b40", "type": "test"}, "3769": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_mainnet_market_id__True__0.58f61a0590", "type": "test"}, "3770": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_id.2c415fb4fb", "type": "test"}, "3771": {"name": "test.synthetix.unique_fct_perp_orders_base_mainnet_id.1b8b85dac5", "type": "test"}, "3772": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_ts.a61957fc22", "type": "test"}, "3773": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_block_number.3be9f0b718", "type": "test"}, "3774": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_transaction_hash.71d76cac79", "type": "test"}, "3775": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_contract.6a5b003b92", "type": "test"}, "3776": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_id.5b936d3011", "type": "test"}, "3777": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_mainnet_market_id__True__0.2d585533fc", "type": "test"}, "3778": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_market_symbol.554f14b42b", "type": "test"}, "3779": {"name": "test.synthetix.not_null_fct_perp_orders_base_mainnet_account_id.08880589a0", "type": "test"}, "3780": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_id.bd1fc06532", "type": "test"}, "3781": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_mainnet_id__True__0.ac58557180", "type": "test"}, "3782": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_created_ts.b73d9a0c8a", "type": "test"}, "3783": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_block_number.6792b019f1", "type": "test"}, "3784": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_symbol.c8dc99abfc", "type": "test"}, "3785": {"name": "test.synthetix.not_null_fct_perp_markets_base_mainnet_market_name.303acf9a19", "type": "test"}, "3786": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_id.c9dbfad377", "type": "test"}, "3787": {"name": "test.synthetix.unique_fct_perp_market_history_base_mainnet_id.8b11f687f0", "type": "test"}, "3788": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_ts.d5f4e338d6", "type": "test"}, "3789": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_block_number.485f73c767", "type": "test"}, "3790": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_transaction_hash.d53db511d0", "type": "test"}, "3791": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_id.cab90009a8", "type": "test"}, "3792": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_mainnet_market_id__True__0.c7e76b30aa", "type": "test"}, "3793": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_market_symbol.c60910b39a", "type": "test"}, "3794": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_price.acf046de31", "type": "test"}, "3795": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_skew.a4d473f3fc", "type": "test"}, "3796": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size.3bbf16be92", "type": "test"}, "3797": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_delta.c2cfd7a96f", "type": "test"}, "3798": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate.904532dfcd", "type": "test"}, "3799": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_velocity.0bd6fa06fa", "type": "test"}, "3800": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_interest_rate.2c5e879eef", "type": "test"}, "3801": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_funding_rate_apr.50943753dc", "type": "test"}, "3802": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_long_rate_apr.785d324d07", "type": "test"}, "3803": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_short_rate_apr.a2f2135476", "type": "test"}, "3804": {"name": "test.synthetix.not_null_fct_perp_market_history_base_mainnet_size_usd.bc3090b261", "type": "test"}, "3805": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_id.4311fef5a1", "type": "test"}, "3806": {"name": "test.synthetix.unique_fct_perp_liq_position_base_mainnet_id.f46ba34fa7", "type": "test"}, "3807": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_ts.2dc7a4a976", "type": "test"}, "3808": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_block_number.da16c5c256", "type": "test"}, "3809": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_transaction_hash.d54f66674c", "type": "test"}, "3810": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_account_id.f3ec9ddba7", "type": "test"}, "3811": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_id.7f965252ed", "type": "test"}, "3812": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_market_id__True__0.149bc69560", "type": "test"}, "3813": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_market_symbol.a84ac24b5f", "type": "test"}, "3814": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_amount_liquidated.893ef59124", "type": "test"}, "3815": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_amount_liquidated__True__0.51c2fa3b3f", "type": "test"}, "3816": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_mainnet_position_size.dcfe3d8623", "type": "test"}, "3817": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_mainnet_position_size__True__0.a626e988d4", "type": "test"}, "3818": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_account_id.dd5099ce59", "type": "test"}, "3819": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_ts.5a3efee9f7", "type": "test"}, "3820": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_mainnet_total_reward.2a8b87e55c", "type": "test"}, "3821": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_mainnet_total_reward__True__0.a35af51633", "type": "test"}, "3822": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_id.cf1e1e2af0", "type": "test"}, "3823": {"name": "test.synthetix.unique_fct_perp_accounts_base_mainnet_id.2a6de2d0f2", "type": "test"}, "3824": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_created_ts.cc57ba5d93", "type": "test"}, "3825": {"name": "test.synthetix.not_null_fct_perp_accounts_base_mainnet_owner.b581a2df74", "type": "test"}, "3826": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_ts.14a31d2a6b", "type": "test"}, "3827": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_snx_amount.ea18aa299d", "type": "test"}, "3828": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_snx_amount__True__0.4dc1a7a815", "type": "test"}, "3829": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_usd_amount.226e5c84b2", "type": "test"}, "3830": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_usd_amount__True__0.b33cfd2e0e", "type": "test"}, "3831": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_snx_amount.d9cc05c370", "type": "test"}, "3832": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_snx_amount__True__0.40e1988439", "type": "test"}, "3833": {"name": "test.synthetix.not_null_fct_buyback_daily_base_mainnet_cumulative_usd_amount.4602f5b0ec", "type": "test"}, "3834": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_mainnet_cumulative_usd_amount__True__0.2fdc7f3ac4", "type": "test"}, "3835": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_ts.712dc7c106", "type": "test"}, "3836": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_snx_amount.8e18aeb895", "type": "test"}, "3837": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_snx_amount__True__0.34d4d71a42", "type": "test"}, "3838": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_usd_amount.cbc2a221fa", "type": "test"}, "3839": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_usd_amount__True__0.153efe66c5", "type": "test"}, "3840": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_snx_amount.3f13efe309", "type": "test"}, "3841": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_snx_amount__True__0.0a50a1b2a1", "type": "test"}, "3842": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_mainnet_cumulative_usd_amount.d705144302", "type": "test"}, "3843": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_mainnet_cumulative_usd_amount__True__0.897d810e27", "type": "test"}, "3844": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_id.fbad84fb48", "type": "test"}, "3845": {"name": "test.synthetix.unique_fct_buyback_base_mainnet_id.f0c25ee329", "type": "test"}, "3846": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_ts.42175c7800", "type": "test"}, "3847": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_buyer.996c564c05", "type": "test"}, "3848": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx.75b728a26f", "type": "test"}, "3849": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx__True__0.ffcae6ef8f", "type": "test"}, "3850": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_usd.2e04e1ae30", "type": "test"}, "3851": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_usd__True__0.e9e29cece7", "type": "test"}, "3852": {"name": "test.synthetix.not_null_fct_buyback_base_mainnet_snx_price.e23de62b78", "type": "test"}, "3853": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_mainnet_snx_price__True__0.4ab5da9346", "type": "test"}, "3854": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_ts.878073b7e8", "type": "test"}, "3855": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_block_number.fc803534fc", "type": "test"}, "3856": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_contract_address.f7e3ffefb9", "type": "test"}, "3857": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_pool_id.1ea1a9fb17", "type": "test"}, "3858": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_pool_id__True__0.3c62ac166d", "type": "test"}, "3859": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_type.e2cbb7867d", "type": "test"}, "3860": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_amount.43a56286ca", "type": "test"}, "3861": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_amount__True__0.031c10a818", "type": "test"}, "3862": {"name": "test.synthetix.not_null_fct_core_vault_collateral_base_mainnet_collateral_value.b35c2ac09a", "type": "test"}, "3863": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_vault_collateral_base_mainnet_collateral_value__True__0.ffab802571", "type": "test"}, "3864": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_ts.af8563a243", "type": "test"}, "3865": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_pool_id.47db83edd0", "type": "test"}, "3866": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_pool_id__True__0.f01ac775cc", "type": "test"}, "3867": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_collateral_type.2f7e01ccd0", "type": "test"}, "3868": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_distributor.5511d5880d", "type": "test"}, "3869": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_token_symbol.1810912a65", "type": "test"}, "3870": {"name": "test.synthetix.not_null_fct_pool_rewards_base_mainnet_amount.c7b92514fd", "type": "test"}, "3871": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_mainnet_amount__True__0.5a5b31d40e", "type": "test"}, "3872": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_ts.3412be3139", "type": "test"}, "3873": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_account_id.64d4657b45", "type": "test"}, "3874": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_pool_id.c2b6448825", "type": "test"}, "3875": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_pool_id__True__0.a18d31544f", "type": "test"}, "3876": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_collateral_type.01ebd9c59e", "type": "test"}, "3877": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_mainnet_amount_delegated.c0cf7fdd11", "type": "test"}, "3878": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_mainnet_amount_delegated__True__0.5d186a76ca", "type": "test"}, "3879": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_ts.fa672a8124", "type": "test"}, "3880": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_pool_id.ec4f69201c", "type": "test"}, "3881": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_pool_id__True__0.6f65c027c2", "type": "test"}, "3882": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_type.6b18aa87ce", "type": "test"}, "3883": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_collateral_value.ca0cfe00d9", "type": "test"}, "3884": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_collateral_value__True__0.09ad3e4f8e", "type": "test"}, "3885": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_debt.3003bbaef9", "type": "test"}, "3886": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_issuance.58d7e6392e", "type": "test"}, "3887": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl.aace5f4a92", "type": "test"}, "3888": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_pnl.0dfa79c775", "type": "test"}, "3889": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_cumulative_issuance.6b5aeff994", "type": "test"}, "3890": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_rewards_usd.9770eed99e", "type": "test"}, "3891": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_rewards_usd__True__0.cd9a35763d", "type": "test"}, "3892": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_pnl_pct.709eae57a9", "type": "test"}, "3893": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_hourly_rewards_pct.e5170bb035", "type": "test"}, "3894": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_mainnet_hourly_rewards_pct__True__1__0.615edfd299", "type": "test"}, "3895": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_24h.5f87709afa", "type": "test"}, "3896": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_24h.0d59b73826", "type": "test"}, "3897": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_7d.8545f2f45f", "type": "test"}, "3898": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_7d.d068a55e21", "type": "test"}, "3899": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apr_28d.69fcad855f", "type": "test"}, "3900": {"name": "test.synthetix.not_null_fct_core_apr_base_mainnet_apy_28d.384e146fdc", "type": "test"}, "3901": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_id.a50a975385", "type": "test"}, "3902": {"name": "test.synthetix.unique_fct_core_market_updated_base_mainnet_id.ec01754a17", "type": "test"}, "3903": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_ts.f35cfffa6d", "type": "test"}, "3904": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_transaction_hash.87848e2a26", "type": "test"}, "3905": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_event_name.38e05844e8", "type": "test"}, "3906": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_mainnet_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.b6908f0c03", "type": "test"}, "3907": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_market_id.c97cd708fa", "type": "test"}, "3908": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_mainnet_market_id__True__0.2ed4a3f792", "type": "test"}, "3909": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_collateral_type.b71240306c", "type": "test"}, "3910": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_credit_capacity.303317e986", "type": "test"}, "3911": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_net_issuance.2d64ab52f8", "type": "test"}, "3912": {"name": "test.synthetix.not_null_fct_core_market_updated_base_mainnet_token_amount.ead854df90", "type": "test"}, "3913": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_ts.4e638376c4", "type": "test"}, "3914": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_collateral_type.63ab148d0c", "type": "test"}, "3915": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_mainnet_amount_deposited.9fabc246a7", "type": "test"}, "3916": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_ts.2ed20ab777", "type": "test"}, "3917": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_pool_id.d338258729", "type": "test"}, "3918": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_mainnet_pool_id__True__0.4d81a0e2e0", "type": "test"}, "3919": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_mainnet_collateral_type.49ff2a0118", "type": "test"}, "3920": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_id.1f1f3ad095", "type": "test"}, "3921": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_mainnet_id__True__0.2b14986ce3", "type": "test"}, "3922": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_created_ts.a07bb6b8fe", "type": "test"}, "3923": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_block_number.cc61b3ca43", "type": "test"}, "3924": {"name": "test.synthetix.not_null_fct_core_pools_base_mainnet_owner.a2cfe04f87", "type": "test"}, "3925": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_ts.f49a23ebcd", "type": "test"}, "3926": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_block_number.dd32fc50c6", "type": "test"}, "3927": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_pool_id.8e9e20797d", "type": "test"}, "3928": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_mainnet_pool_id__True__0.a1f5ec7b1b", "type": "test"}, "3929": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_collateral_type.92a752ffea", "type": "test"}, "3930": {"name": "test.synthetix.not_null_fct_pool_debt_base_mainnet_debt.5b37c10505", "type": "test"}, "3931": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_ts.af3f6a895d", "type": "test"}, "3932": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_pool_id.03eddab767", "type": "test"}, "3933": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_mainnet_pool_id__True__0.82c0a98d47", "type": "test"}, "3934": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_collateral_type.21efec6e56", "type": "test"}, "3935": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_mainnet_hourly_issuance.1bde70000d", "type": "test"}, "3936": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_ts.2b8d4be103", "type": "test"}, "3937": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_block_number.6ae22c8ac4", "type": "test"}, "3938": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_transaction_hash.0764eca614", "type": "test"}, "3939": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_pool_id.01d3ed0f62", "type": "test"}, "3940": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_mainnet_pool_id__True__0.5e68f64c49", "type": "test"}, "3941": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_collateral_type.72fe90c3b9", "type": "test"}, "3942": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_account_id.4f9de5ef81", "type": "test"}, "3943": {"name": "test.synthetix.not_null_fct_pool_issuance_base_mainnet_amount.29761360a6", "type": "test"}, "3944": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_ts.7c76badc22", "type": "test"}, "3945": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_pool_id.7352d1abe5", "type": "test"}, "3946": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_pool_id__True__0.4246141dca", "type": "test"}, "3947": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_type.7d4e861773", "type": "test"}, "3948": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_collateral_value.34ddcc2ccb", "type": "test"}, "3949": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_collateral_value__True__0.7bf7b1ccab", "type": "test"}, "3950": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_debt.e2d08dec52", "type": "test"}, "3951": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_issuance.b0e645a132", "type": "test"}, "3952": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl.6f321ca648", "type": "test"}, "3953": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_rewards_usd.de69bca40d", "type": "test"}, "3954": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_rewards_usd__True__0.65717bc033", "type": "test"}, "3955": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_pnl_pct.43ef5d27cc", "type": "test"}, "3956": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct.0d02b364b5", "type": "test"}, "3957": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_mainnet_hourly_rewards_pct__True__1__0.24176cb1b5", "type": "test"}, "3958": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_mainnet_hourly_total_pct.9656973b1c", "type": "test"}, "3959": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_ts.cb01f363c1", "type": "test"}, "3960": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_pool_id.cc4be6d53f", "type": "test"}, "3961": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_pool_id__True__0.0fe5a5d2d6", "type": "test"}, "3962": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_collateral_type.9a0efdf293", "type": "test"}, "3963": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_mainnet_rewards_usd.2d36098b0e", "type": "test"}, "3964": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_mainnet_rewards_usd__True__0.e752fbfdf1", "type": "test"}, "3965": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_ts.b6c015406d", "type": "test"}, "3966": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_pool_id.26caff37a4", "type": "test"}, "3967": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_pool_id__True__0.59419d2477", "type": "test"}, "3968": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_collateral_type.52b0ac191f", "type": "test"}, "3969": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_distributor.608c8d5a0a", "type": "test"}, "3970": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_token_symbol.185f4e6438", "type": "test"}, "3971": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_price.f29ff11a01", "type": "test"}, "3972": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_price__True__0.5e57dd6ed8", "type": "test"}, "3973": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount.294d780f70", "type": "test"}, "3974": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_hourly_amount__True__0.edfffe8350", "type": "test"}, "3975": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed.d339be6768", "type": "test"}, "3976": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_amount_distributed__True__0.f2c99e8638", "type": "test"}, "3977": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd.2724c9008d", "type": "test"}, "3978": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_mainnet_rewards_usd__True__0.2f31fe80de", "type": "test"}, "3979": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_ts.ab30396a5d", "type": "test"}, "3980": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_block_number.8686c78edf", "type": "test"}, "3981": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_synth_market_id.5a00a55aa2", "type": "test"}, "3982": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_mainnet_synth_market_id__True__0.cf8aff1a32", "type": "test"}, "3983": {"name": "test.synthetix.not_null_fct_synth_supply_base_mainnet_supply.3f0fbdddb9", "type": "test"}, "3984": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_id.627bbbf01f", "type": "test"}, "3985": {"name": "test.synthetix.unique_fct_spot_atomics_base_mainnet_id.43d4b7c878", "type": "test"}, "3986": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_ts.8e16294c15", "type": "test"}, "3987": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_block_number.f27d399305", "type": "test"}, "3988": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_tx_hash.95b2db0403", "type": "test"}, "3989": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_synth_market_id.6f09447421", "type": "test"}, "3990": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_mainnet_synth_market_id__True__0.09c446094a", "type": "test"}, "3991": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_price.425623addf", "type": "test"}, "3992": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_amount.f9fe9bd5d8", "type": "test"}, "3993": {"name": "test.synthetix.not_null_fct_spot_atomics_base_mainnet_referrer.ab87d661dd", "type": "test"}, "3994": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_id.b85cc0ba41", "type": "test"}, "3995": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_mainnet_id__True__0.51d4e415e8", "type": "test"}, "3996": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_created_ts.746ff1f9ce", "type": "test"}, "3997": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_block_number.dd426b1fb6", "type": "test"}, "3998": {"name": "test.synthetix.not_null_fct_spot_markets_base_mainnet_token_address.454ffd144a", "type": "test"}, "3999": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_id.b1091139a2", "type": "test"}, "4000": {"name": "test.synthetix.unique_fct_spot_wrapper_base_mainnet_id.c51e21223d", "type": "test"}, "4001": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_ts.b646319cc9", "type": "test"}, "4002": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_block_number.9220599356", "type": "test"}, "4003": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_tx_hash.eb92a57d59", "type": "test"}, "4004": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_synth_market_id.4d8b77f2da", "type": "test"}, "4005": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_mainnet_synth_market_id__True__0.69216a8846", "type": "test"}, "4006": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_mainnet_amount_wrapped.957e1a74f3", "type": "test"}, "4007": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_ts.c885673fc8", "type": "test"}, "4008": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_market_symbol.dc8cb46b8c", "type": "test"}, "4009": {"name": "test.synthetix.not_null_fct_prices_base_mainnet_price.a6c62844d1", "type": "test"}, "4010": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_mainnet_price__True__0.4906889fd6", "type": "test"}, "4011": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_ts.a2c68d326d", "type": "test"}, "4012": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_market_symbol.ffd656c11f", "type": "test"}, "4013": {"name": "test.synthetix.not_null_fct_prices_hourly_base_mainnet_price.73bbfd891b", "type": "test"}, "4014": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_mainnet_price__True__0.1e768deaa2", "type": "test"}, "4015": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_id.eb661d1506", "type": "test"}, "4016": {"name": "test.synthetix.unique_fct_perp_interest_charged_base_sepolia_id.53669ecac5", "type": "test"}, "4017": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_timestamp.0a73b599b9", "type": "test"}, "4018": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_block_number.b5c567e21f", "type": "test"}, "4019": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_transaction_hash.aaef59efbb", "type": "test"}, "4020": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_contract.d0f4674d07", "type": "test"}, "4021": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_event_name.237b079041", "type": "test"}, "4022": {"name": "test.synthetix.accepted_values_fct_perp_interest_charged_base_sepolia_event_name__InterestCharged.ff861d06a4", "type": "test"}, "4023": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_account_id.86fbe78f66", "type": "test"}, "4024": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_account_id__True__0.3edc04f3c6", "type": "test"}, "4025": {"name": "test.synthetix.not_null_fct_perp_interest_charged_base_sepolia_interest.201254f262", "type": "test"}, "4026": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_interest_charged_base_sepolia_interest__True__0.cbe80d3cfc", "type": "test"}, "4027": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_id.04ae0ab4fd", "type": "test"}, "4028": {"name": "test.synthetix.unique_fct_perp_collateral_modified_base_sepolia_id.a5b1b5d44a", "type": "test"}, "4029": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_timestamp.983f4f7464", "type": "test"}, "4030": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_block_number.36ad8cb4d3", "type": "test"}, "4031": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_transaction_hash.834ecbfe7f", "type": "test"}, "4032": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_contract.e1b2d1c3f1", "type": "test"}, "4033": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_event_name.0d3e82bc99", "type": "test"}, "4034": {"name": "test.synthetix.accepted_values_fct_perp_collateral_modified_base_sepolia_event_name__CollateralModified.f6430341ee", "type": "test"}, "4035": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_synth_market_id.a933a52d36", "type": "test"}, "4036": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_collateral_modified_base_sepolia_synth_market_id__True__0.6fb45ff630", "type": "test"}, "4037": {"name": "test.synthetix.not_null_fct_perp_collateral_modified_base_sepolia_sender.36cb6d7913", "type": "test"}, "4038": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_id.480d04976b", "type": "test"}, "4039": {"name": "test.synthetix.unique_fct_perp_previous_order_expired_base_sepolia_id.38211e4c5d", "type": "test"}, "4040": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_timestamp.4b41a82d13", "type": "test"}, "4041": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_block_number.1ff7a5705c", "type": "test"}, "4042": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_transaction_hash.e1f21d4fd3", "type": "test"}, "4043": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_contract.b0da841bdf", "type": "test"}, "4044": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_event_name.daad0addfa", "type": "test"}, "4045": {"name": "test.synthetix.accepted_values_fct_perp_previous_order_expired_base_sepolia_event_name__PreviousOrderExpired.e124d4bad8", "type": "test"}, "4046": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_market_id.17181fe5f1", "type": "test"}, "4047": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_market_id__True__0.b23f5ced4b", "type": "test"}, "4048": {"name": "test.synthetix.not_null_fct_perp_previous_order_expired_base_sepolia_account_id.e2bf90a189", "type": "test"}, "4049": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_previous_order_expired_base_sepolia_account_id__True__0.b2f7060dcd", "type": "test"}, "4050": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_id.e94cf14cf4", "type": "test"}, "4051": {"name": "test.synthetix.unique_fct_perp_trades_base_sepolia_id.ceece98634", "type": "test"}, "4052": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_ts.76a693976f", "type": "test"}, "4053": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_block_number.36502e409b", "type": "test"}, "4054": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_transaction_hash.4d4a1afa3d", "type": "test"}, "4055": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_contract.92feeccb9f", "type": "test"}, "4056": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_id.3d4de88cac", "type": "test"}, "4057": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_market_id__True__0.67a1e76900", "type": "test"}, "4058": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_market_symbol.8c61ba2703", "type": "test"}, "4059": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_account_id.74992c394c", "type": "test"}, "4060": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_fill_price.3633433721", "type": "test"}, "4061": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_fill_price__True__0.b3d62542ac", "type": "test"}, "4062": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_pnl.42b0678535", "type": "test"}, "4063": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_accrued_funding.fb6b795bff", "type": "test"}, "4064": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_trade_size.e5fc6afe64", "type": "test"}, "4065": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_position_size.d124874e35", "type": "test"}, "4066": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_total_fees.d6fd22951b", "type": "test"}, "4067": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_total_fees__True__0.68c3f148eb", "type": "test"}, "4068": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_referral_fees.12cd5804dd", "type": "test"}, "4069": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_referral_fees__True__0.dc2313066f", "type": "test"}, "4070": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_collected_fees.ac78e5e098", "type": "test"}, "4071": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_collected_fees__True__0.d4eb8f3a34", "type": "test"}, "4072": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settlement_reward.edb4d5c73f", "type": "test"}, "4073": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_settlement_reward__True__0.58cc15e824", "type": "test"}, "4074": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_tracking_code.482af3b84b", "type": "test"}, "4075": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_settler.b1e9ff8b09", "type": "test"}, "4076": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_trade_size.e076755f6b", "type": "test"}, "4077": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_notional_position_size.1d9238ede6", "type": "test"}, "4078": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_lp_fees.08774e8672", "type": "test"}, "4079": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_lp_fees__True__0.8a5e6825da", "type": "test"}, "4080": {"name": "test.synthetix.not_null_fct_perp_trades_base_sepolia_exchange_fees.72c95e5df3", "type": "test"}, "4081": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_trades_base_sepolia_exchange_fees__True__0.b3ce206dc8", "type": "test"}, "4082": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_ts.74b2ae0437", "type": "test"}, "4083": {"name": "test.synthetix.not_null_fct_perp_pnl_base_sepolia_market_id.f6d4268d28", "type": "test"}, "4084": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_pnl_base_sepolia_market_id__True__0.2546d9a255", "type": "test"}, "4085": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_id.8dca618afe", "type": "test"}, "4086": {"name": "test.synthetix.unique_fct_perp_orders_base_sepolia_id.55dad680ba", "type": "test"}, "4087": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_ts.acaae19ba7", "type": "test"}, "4088": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_block_number.46d5d3c316", "type": "test"}, "4089": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_transaction_hash.650c93c367", "type": "test"}, "4090": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_contract.17d50e01a2", "type": "test"}, "4091": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_id.9c18ced1ce", "type": "test"}, "4092": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_orders_base_sepolia_market_id__True__0.fe527d9b61", "type": "test"}, "4093": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_market_symbol.ccf5837d32", "type": "test"}, "4094": {"name": "test.synthetix.not_null_fct_perp_orders_base_sepolia_account_id.75a8413527", "type": "test"}, "4095": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_id.908ad69766", "type": "test"}, "4096": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_markets_base_sepolia_id__True__0.8545400fda", "type": "test"}, "4097": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_created_ts.ec1571d5b3", "type": "test"}, "4098": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_block_number.5b8bc4dbc4", "type": "test"}, "4099": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_symbol.e4e36d90ae", "type": "test"}, "4100": {"name": "test.synthetix.not_null_fct_perp_markets_base_sepolia_market_name.47a0ccb5b2", "type": "test"}, "4101": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_id.5597cbd783", "type": "test"}, "4102": {"name": "test.synthetix.unique_fct_perp_market_history_base_sepolia_id.a6cd45bc6b", "type": "test"}, "4103": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_ts.f38b043e70", "type": "test"}, "4104": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_block_number.2243d56672", "type": "test"}, "4105": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_transaction_hash.692634d15d", "type": "test"}, "4106": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_id.bdbb4acce1", "type": "test"}, "4107": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_market_history_base_sepolia_market_id__True__0.ee983a3e48", "type": "test"}, "4108": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_market_symbol.a5c87dfbbc", "type": "test"}, "4109": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_price.701866f2d6", "type": "test"}, "4110": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_skew.2239f848ce", "type": "test"}, "4111": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size.4ba39d1f97", "type": "test"}, "4112": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_delta.a047554669", "type": "test"}, "4113": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate.8b0c11dd33", "type": "test"}, "4114": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_velocity.e94823ecab", "type": "test"}, "4115": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_interest_rate.7281d4e302", "type": "test"}, "4116": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_funding_rate_apr.d67d832c1f", "type": "test"}, "4117": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_long_rate_apr.12346bb56d", "type": "test"}, "4118": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_short_rate_apr.8f7be1f404", "type": "test"}, "4119": {"name": "test.synthetix.not_null_fct_perp_market_history_base_sepolia_size_usd.38c4eef62e", "type": "test"}, "4120": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_id.79b565b3e1", "type": "test"}, "4121": {"name": "test.synthetix.unique_fct_perp_liq_position_base_sepolia_id.115ce32bec", "type": "test"}, "4122": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_ts.57135ae312", "type": "test"}, "4123": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_block_number.1e9c90b546", "type": "test"}, "4124": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_transaction_hash.a0777a2fcc", "type": "test"}, "4125": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_account_id.8cf46dc9c7", "type": "test"}, "4126": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_id.781f0844d8", "type": "test"}, "4127": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_market_id__True__0.def98e4452", "type": "test"}, "4128": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_market_symbol.f750183220", "type": "test"}, "4129": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_amount_liquidated.a06e8cfcb4", "type": "test"}, "4130": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_amount_liquidated__True__0.2ed4eec011", "type": "test"}, "4131": {"name": "test.synthetix.not_null_fct_perp_liq_position_base_sepolia_position_size.75bf8c09a0", "type": "test"}, "4132": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_position_base_sepolia_position_size__True__0.49ac413695", "type": "test"}, "4133": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_account_id.f56cf61194", "type": "test"}, "4134": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_ts.c34644894f", "type": "test"}, "4135": {"name": "test.synthetix.not_null_fct_perp_liq_account_base_sepolia_total_reward.24d48c7864", "type": "test"}, "4136": {"name": "test.synthetix.dbt_utils_accepted_range_fct_perp_liq_account_base_sepolia_total_reward__True__0.42888d54ae", "type": "test"}, "4137": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_id.e4031edaa1", "type": "test"}, "4138": {"name": "test.synthetix.unique_fct_perp_accounts_base_sepolia_id.1ca885b5ec", "type": "test"}, "4139": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_created_ts.00ac8e7106", "type": "test"}, "4140": {"name": "test.synthetix.not_null_fct_perp_accounts_base_sepolia_owner.578268eb9a", "type": "test"}, "4141": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_ts.0b8a36c44c", "type": "test"}, "4142": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_snx_amount.113325e30a", "type": "test"}, "4143": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_snx_amount__True__0.378a6852a6", "type": "test"}, "4144": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_usd_amount.21bc5d392b", "type": "test"}, "4145": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_usd_amount__True__0.e3dd96895e", "type": "test"}, "4146": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_snx_amount.c44f071e87", "type": "test"}, "4147": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_snx_amount__True__0.ab215eff09", "type": "test"}, "4148": {"name": "test.synthetix.not_null_fct_buyback_daily_base_sepolia_cumulative_usd_amount.f40974a9be", "type": "test"}, "4149": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_daily_base_sepolia_cumulative_usd_amount__True__0.f5fad30aa3", "type": "test"}, "4150": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_ts.39dec90aa4", "type": "test"}, "4151": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_snx_amount.a856b40de9", "type": "test"}, "4152": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_snx_amount__True__0.40ea0d5e88", "type": "test"}, "4153": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_usd_amount.4f119280f7", "type": "test"}, "4154": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_usd_amount__True__0.89592b2e7d", "type": "test"}, "4155": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_snx_amount.806ce65de6", "type": "test"}, "4156": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_snx_amount__True__0.6d52afd421", "type": "test"}, "4157": {"name": "test.synthetix.not_null_fct_buyback_hourly_base_sepolia_cumulative_usd_amount.6347fe374e", "type": "test"}, "4158": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_hourly_base_sepolia_cumulative_usd_amount__True__0.e3d3aff3f1", "type": "test"}, "4159": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_id.03ec6b8e04", "type": "test"}, "4160": {"name": "test.synthetix.unique_fct_buyback_base_sepolia_id.ce5fc96649", "type": "test"}, "4161": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_ts.f6314da709", "type": "test"}, "4162": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_buyer.e7ec385108", "type": "test"}, "4163": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx.39b0dcead2", "type": "test"}, "4164": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx__True__0.21bd52e738", "type": "test"}, "4165": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_usd.427a3c3ca1", "type": "test"}, "4166": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_usd__True__0.7426b61d1a", "type": "test"}, "4167": {"name": "test.synthetix.not_null_fct_buyback_base_sepolia_snx_price.361a60f2b3", "type": "test"}, "4168": {"name": "test.synthetix.dbt_utils_accepted_range_fct_buyback_base_sepolia_snx_price__True__0.fedfb306c2", "type": "test"}, "4169": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_ts.3bc8aeff42", "type": "test"}, "4170": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_pool_id.8de57769b7", "type": "test"}, "4171": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_pool_id__True__0.bb2309b03e", "type": "test"}, "4172": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_collateral_type.fcdb4bc8d4", "type": "test"}, "4173": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_distributor.44cab292b1", "type": "test"}, "4174": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_token_symbol.7f69f8767a", "type": "test"}, "4175": {"name": "test.synthetix.not_null_fct_pool_rewards_base_sepolia_amount.e8cf1e51d5", "type": "test"}, "4176": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_base_sepolia_amount__True__0.da53fcc671", "type": "test"}, "4177": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_ts.4b517eadb1", "type": "test"}, "4178": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_account_id.71a1fd9dac", "type": "test"}, "4179": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_pool_id.8eb393e4f4", "type": "test"}, "4180": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_pool_id__True__0.508b8be78d", "type": "test"}, "4181": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_collateral_type.dc085beb88", "type": "test"}, "4182": {"name": "test.synthetix.not_null_fct_core_account_delegation_base_sepolia_amount_delegated.07444b44f4", "type": "test"}, "4183": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_account_delegation_base_sepolia_amount_delegated__True__0.2258d23e98", "type": "test"}, "4184": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_ts.2cc1721326", "type": "test"}, "4185": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_pool_id.a2ea5cc601", "type": "test"}, "4186": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_pool_id__True__0.dca944c591", "type": "test"}, "4187": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_type.7a5590eb90", "type": "test"}, "4188": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_collateral_value.6b7be2743f", "type": "test"}, "4189": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_collateral_value__True__0.50d2b91f46", "type": "test"}, "4190": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_debt.fadc5bb67a", "type": "test"}, "4191": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_issuance.2fcf5254d1", "type": "test"}, "4192": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl.75c8c54189", "type": "test"}, "4193": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_pnl.ce3ab4e606", "type": "test"}, "4194": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_cumulative_issuance.5f3ec9bec1", "type": "test"}, "4195": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_rewards_usd.0b9d66ba19", "type": "test"}, "4196": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_rewards_usd__True__0.090c92559d", "type": "test"}, "4197": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_pnl_pct.d827dc6b5f", "type": "test"}, "4198": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_hourly_rewards_pct.adeb7db337", "type": "test"}, "4199": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_apr_base_sepolia_hourly_rewards_pct__True__1__0.6c15e31d20", "type": "test"}, "4200": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_24h.275116a918", "type": "test"}, "4201": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_24h.b04b5222f4", "type": "test"}, "4202": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_7d.cfc4ec14a3", "type": "test"}, "4203": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_7d.45a63722a9", "type": "test"}, "4204": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apr_28d.e099bf170a", "type": "test"}, "4205": {"name": "test.synthetix.not_null_fct_core_apr_base_sepolia_apy_28d.1e8e0632e0", "type": "test"}, "4206": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_id.34d77ebc84", "type": "test"}, "4207": {"name": "test.synthetix.unique_fct_core_market_updated_base_sepolia_id.469dae108f", "type": "test"}, "4208": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_ts.9f306426fd", "type": "test"}, "4209": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_transaction_hash.8b87578f5d", "type": "test"}, "4210": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_event_name.027b71247d", "type": "test"}, "4211": {"name": "test.synthetix.accepted_values_fct_core_market_updated_base_sepolia_event_name__MarketCollateralWithdrawn__MarketCollateralDeposited__MarketUsdWithdrawn__MarketUsdDeposited.f97649ec10", "type": "test"}, "4212": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_market_id.e1e1cc407f", "type": "test"}, "4213": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_market_updated_base_sepolia_market_id__True__0.9ac29d575a", "type": "test"}, "4214": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_collateral_type.5333cf7124", "type": "test"}, "4215": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_credit_capacity.1096ceee18", "type": "test"}, "4216": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_net_issuance.094fc9701e", "type": "test"}, "4217": {"name": "test.synthetix.not_null_fct_core_market_updated_base_sepolia_token_amount.dfd33d6c7e", "type": "test"}, "4218": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_ts.706747681b", "type": "test"}, "4219": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_collateral_type.98bdc1fe0e", "type": "test"}, "4220": {"name": "test.synthetix.not_null_fct_core_pool_collateral_base_sepolia_amount_deposited.c9a6a6e3d1", "type": "test"}, "4221": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_ts.29b697c43e", "type": "test"}, "4222": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_pool_id.03e5ee04d2", "type": "test"}, "4223": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pool_delegation_base_sepolia_pool_id__True__0.6f4bec67e8", "type": "test"}, "4224": {"name": "test.synthetix.not_null_fct_core_pool_delegation_base_sepolia_collateral_type.6d78a9fae0", "type": "test"}, "4225": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_id.b91a0ef35b", "type": "test"}, "4226": {"name": "test.synthetix.dbt_utils_accepted_range_fct_core_pools_base_sepolia_id__True__0.6010b3107d", "type": "test"}, "4227": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_created_ts.ddc75dd279", "type": "test"}, "4228": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_block_number.68462f9c7c", "type": "test"}, "4229": {"name": "test.synthetix.not_null_fct_core_pools_base_sepolia_owner.e551fe7bc6", "type": "test"}, "4230": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_ts.955bd8bfe6", "type": "test"}, "4231": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_block_number.d6752d8232", "type": "test"}, "4232": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_pool_id.bb5f56d624", "type": "test"}, "4233": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_debt_base_sepolia_pool_id__True__0.0228ac48ff", "type": "test"}, "4234": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_collateral_type.5daff7c138", "type": "test"}, "4235": {"name": "test.synthetix.not_null_fct_pool_debt_base_sepolia_debt.235edf4e17", "type": "test"}, "4236": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_ts.27f6b37554", "type": "test"}, "4237": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_pool_id.10ae437d68", "type": "test"}, "4238": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_hourly_base_sepolia_pool_id__True__0.9d327cf662", "type": "test"}, "4239": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_collateral_type.1a6b56fdf4", "type": "test"}, "4240": {"name": "test.synthetix.not_null_fct_pool_issuance_hourly_base_sepolia_hourly_issuance.938e34bef0", "type": "test"}, "4241": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_ts.be998526ed", "type": "test"}, "4242": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_block_number.2f1e619103", "type": "test"}, "4243": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_transaction_hash.79420348fa", "type": "test"}, "4244": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_pool_id.5d2388a5a0", "type": "test"}, "4245": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_issuance_base_sepolia_pool_id__True__0.e99f9bdac0", "type": "test"}, "4246": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_collateral_type.3b36d49350", "type": "test"}, "4247": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_account_id.aa037160fb", "type": "test"}, "4248": {"name": "test.synthetix.not_null_fct_pool_issuance_base_sepolia_amount.5be777c996", "type": "test"}, "4249": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_ts.5acc26229f", "type": "test"}, "4250": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_pool_id.c9853b1694", "type": "test"}, "4251": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_pool_id__True__0.05c766378f", "type": "test"}, "4252": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_type.1eca6afa4f", "type": "test"}, "4253": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_collateral_value.02a125e570", "type": "test"}, "4254": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_collateral_value__True__0.4f1a814d7b", "type": "test"}, "4255": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_debt.27270b83bd", "type": "test"}, "4256": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_issuance.64beeb7093", "type": "test"}, "4257": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl.1b2d20f29b", "type": "test"}, "4258": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_rewards_usd.3d8b12547d", "type": "test"}, "4259": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_rewards_usd__True__0.9baf8da1f5", "type": "test"}, "4260": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_pnl_pct.5e738de9f7", "type": "test"}, "4261": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct.d3c5df3f72", "type": "test"}, "4262": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_pnl_hourly_base_sepolia_hourly_rewards_pct__True__1__0.3ae208ff52", "type": "test"}, "4263": {"name": "test.synthetix.not_null_fct_pool_pnl_hourly_base_sepolia_hourly_total_pct.32d5d04358", "type": "test"}, "4264": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_ts.521c0d428a", "type": "test"}, "4265": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_pool_id.9e81c4a855", "type": "test"}, "4266": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_pool_id__True__0.7fb80d19e2", "type": "test"}, "4267": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_collateral_type.ca06f7aa20", "type": "test"}, "4268": {"name": "test.synthetix.not_null_fct_pool_rewards_hourly_base_sepolia_rewards_usd.f98e64d589", "type": "test"}, "4269": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_hourly_base_sepolia_rewards_usd__True__0.a1e92ad42f", "type": "test"}, "4270": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_ts.965132b4de", "type": "test"}, "4271": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_pool_id.be2709e1ec", "type": "test"}, "4272": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_pool_id__True__0.81592c4342", "type": "test"}, "4273": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_collateral_type.d1a6cde42d", "type": "test"}, "4274": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_distributor.e0a88ca283", "type": "test"}, "4275": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_token_symbol.0efe3d5a1b", "type": "test"}, "4276": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_price.f86d19c3a1", "type": "test"}, "4277": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_price__True__0.5d2650f33d", "type": "test"}, "4278": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount.52789db2ec", "type": "test"}, "4279": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_hourly_amount__True__0.c330c461c1", "type": "test"}, "4280": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed.c0f649a5e2", "type": "test"}, "4281": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_amount_distributed__True__0.45dd358d86", "type": "test"}, "4282": {"name": "test.synthetix.not_null_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd.d3001484ac", "type": "test"}, "4283": {"name": "test.synthetix.dbt_utils_accepted_range_fct_pool_rewards_token_hourly_base_sepolia_rewards_usd__True__0.c0730ac36d", "type": "test"}, "4284": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_ts.0e3cf0c2f2", "type": "test"}, "4285": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_block_number.f0997efcd8", "type": "test"}, "4286": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_synth_market_id.75d7df8ce8", "type": "test"}, "4287": {"name": "test.synthetix.dbt_utils_accepted_range_fct_synth_supply_base_sepolia_synth_market_id__True__0.1c097f1721", "type": "test"}, "4288": {"name": "test.synthetix.not_null_fct_synth_supply_base_sepolia_supply.a13743a375", "type": "test"}, "4289": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_id.dfc0db9ed4", "type": "test"}, "4290": {"name": "test.synthetix.unique_fct_spot_atomics_base_sepolia_id.6c8ed0bc2a", "type": "test"}, "4291": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_ts.4bca6422cc", "type": "test"}, "4292": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_block_number.16d75a4323", "type": "test"}, "4293": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_tx_hash.6d969998c6", "type": "test"}, "4294": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_synth_market_id.e8f636df14", "type": "test"}, "4295": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_atomics_base_sepolia_synth_market_id__True__0.391b470dd2", "type": "test"}, "4296": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_price.ce30d003ce", "type": "test"}, "4297": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_amount.81264c756d", "type": "test"}, "4298": {"name": "test.synthetix.not_null_fct_spot_atomics_base_sepolia_referrer.7533de1c2b", "type": "test"}, "4299": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_id.a355928e0f", "type": "test"}, "4300": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_markets_base_sepolia_id__True__0.f6b3a1dac3", "type": "test"}, "4301": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_created_ts.69423c5ddb", "type": "test"}, "4302": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_block_number.25cd7e84c0", "type": "test"}, "4303": {"name": "test.synthetix.not_null_fct_spot_markets_base_sepolia_token_address.af639aa1d2", "type": "test"}, "4304": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_id.6458cf0796", "type": "test"}, "4305": {"name": "test.synthetix.unique_fct_spot_wrapper_base_sepolia_id.3a2fb8ee86", "type": "test"}, "4306": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_ts.8708b13a31", "type": "test"}, "4307": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_block_number.05149fa391", "type": "test"}, "4308": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_tx_hash.0df62cff0d", "type": "test"}, "4309": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_synth_market_id.54687d51aa", "type": "test"}, "4310": {"name": "test.synthetix.dbt_utils_accepted_range_fct_spot_wrapper_base_sepolia_synth_market_id__True__0.f4eedf4f3f", "type": "test"}, "4311": {"name": "test.synthetix.not_null_fct_spot_wrapper_base_sepolia_amount_wrapped.447890a6f4", "type": "test"}, "4312": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_ts.2875b0c397", "type": "test"}, "4313": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_market_symbol.e2a8214091", "type": "test"}, "4314": {"name": "test.synthetix.not_null_fct_prices_base_sepolia_price.3c29a949cf", "type": "test"}, "4315": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_base_sepolia_price__True__0.78bfe2f46a", "type": "test"}, "4316": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_ts.fc60cfbaeb", "type": "test"}, "4317": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_market_symbol.35c2706bfd", "type": "test"}, "4318": {"name": "test.synthetix.not_null_fct_prices_hourly_base_sepolia_price.e263ee2224", "type": "test"}, "4319": {"name": "test.synthetix.dbt_utils_accepted_range_fct_prices_hourly_base_sepolia_price__True__0.9b4c65b6bd", "type": "test"}, "4320": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_distributor_address.700581d5a6", "type": "test"}, "4321": {"name": "test.synthetix.not_null_arbitrum_mainnet_reward_distributors_token_symbol.a65060c57e", "type": "test"}, "4322": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_distributor_address.6379395bc6", "type": "test"}, "4323": {"name": "test.synthetix.not_null_arbitrum_sepolia_reward_distributors_token_symbol.62adebb178", "type": "test"}, "4324": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_distributor_address.d0aab9bee0", "type": "test"}, "4325": {"name": "test.synthetix.not_null_base_mainnet_reward_distributors_token_symbol.d94311a8fc", "type": "test"}, "4326": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_distributor_address.08551b149c", "type": "test"}, "4327": {"name": "test.synthetix.not_null_base_sepolia_reward_distributors_token_symbol.37319f3c5c", "type": "test"}, "4328": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_address.08d3db4ee2", "type": "test"}, "4329": {"name": "test.synthetix.not_null_arbitrum_mainnet_tokens_token_symbol.619d115f2e", "type": "test"}, "4330": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_address.9daa149fb1", "type": "test"}, "4331": {"name": "test.synthetix.not_null_arbitrum_sepolia_tokens_token_symbol.17ecd3a7d8", "type": "test"}, "4332": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_address.47a3f5acd2", "type": "test"}, "4333": {"name": "test.synthetix.not_null_base_mainnet_tokens_token_symbol.77007fd576", "type": "test"}, "4334": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_address.73f3c4e0ef", "type": "test"}, "4335": {"name": "test.synthetix.not_null_base_sepolia_tokens_token_symbol.1afdd41b38", "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..ff59e99f
--- /dev/null
+++ b/manifest.json
@@ -0,0 +1 @@
+{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v12.json", "dbt_version": "1.8.6", "generated_at": "2024-08-29T15:37:06.329430Z", "invocation_id": "56ee0000-2bfb-4ec9-a484-4ddf996bd061", "env": {}, "project_name": "synthetix", "project_id": "432a2fb49dc9be7695a9ebc3519d54bf", "user_id": "f2cad151-3d79-4057-85be-173340507e95", "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": "aba9e542f7f0da52d54126479ab3d8d12820bf7677ebd270d557ff5e733b9c77"}, "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": 1724945830.2261248, "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),\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 from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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),\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 from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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": 1724945830.4555624, "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": "0b9e5d34494b850c021ebda9e8a7290e82a643513eb0e5c89fb364b5fbbb4b67"}, "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": 1724945830.4895408, "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)\n\nselect\n to_timestamp(\n blocks.timestamp\n ) as 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 base\ninner join {{ source(\n 'raw_eth_mainnet',\n 'blocks_parquet'\n) }} 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)\n\nselect\n to_timestamp(\n blocks.timestamp\n ) as 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 base\ninner 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": "fbefa77c9a8ee1587d459af8ed2aead616d23460e8f847d37af435263ebfc656"}, "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": 1724945830.4880216, "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)\n\nselect\n to_timestamp(\n blocks.timestamp\n ) as 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 base\ninner join {{ source(\n 'raw_eth_mainnet',\n 'blocks_parquet'\n) }} 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)\n\nselect\n to_timestamp(\n blocks.timestamp\n ) as 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 base\ninner 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": 1724945830.485742, "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": 1724945830.4640238, "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": 1724945830.4756014, "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": 1724945830.474068, "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": "6f3054dbf28d9e38c4dacf9cdad51c2258d3761a5a97b9b0b5fd45e06ef42b23"}, "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": 1724945830.4721754, "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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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": 1724945830.4802904, "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": 1724945830.465858, "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": 1724945830.4777882, "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": 1724945830.4620225, "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": 1724945830.4687495, "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": 1724945830.4582973, "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": 1724945830.4820957, "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": 1724945830.4839518, "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": "c67ab81a71cca556d13a0fde65822f17fa6e6608628ac5664caa48d53247b4ab"}, "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": 1724945831.041163, "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),\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 from\n indexer_blocks\n\n union all\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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),\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 from\n indexer_blocks\n\n union all\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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": 1724945831.065892, "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": 1724945831.0624652, "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": 1724945831.07542, "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": 1724945831.051048, "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": 1724945831.053093, "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": 1724945831.0684953, "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": 1724945831.064025, "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": 1724945831.0586433, "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": 1724945831.0549865, "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": 1724945831.0765827, "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": 1724945831.0703435, "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": 1724945831.056749, "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": "0cd15ceab7e61beb1ba602d4178225677347ca7219f40129bb8e288251784f06"}, "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": 1724945831.0608509, "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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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": 1724945831.072142, "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": 1724945831.073987, "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": 1724945831.5919743, "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": 1724945831.5897427, "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": 1724945831.5793302, "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": 1724945831.587407, "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": 1724945831.5852702, "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": 1724945831.5832546, "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": 1724945831.596918, "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": 1724945831.5942001, "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": "8a4a55fdd0de16583d74ce4979878eb64c453307151f7e3183e0c7335a38a384"}, "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": 1724945831.8711767, "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),\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 from\n indexer_blocks\n\n union all\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\nfrom\n combined_blocks\ngroup by\n block_number", "language": "sql", "refs": [], "sources": [["raw_arbitrum_sepolia", "block"], ["raw_arbitrum_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_arbitrum_sepolia.block", "source.synthetix.raw_arbitrum_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/arbitrum/sepolia/blocks_arbitrum_sepolia.sql", "compiled": true, "compiled_code": "with indexer_blocks as (\n select\n timestamp as ts,\n CAST(\n number as INTEGER\n ) as block_number\n from\n \"analytics\".\"raw_arbitrum_sepolia\".\"block\"\n),\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 from\n indexer_blocks\n\n union all\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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": 1724945831.9023979, "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": 1724945831.8971846, "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": 1724945831.9037735, "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": 1724945831.883076, "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": 1724945831.8848777, "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": 1724945831.8883498, "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": 1724945831.8935037, "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": 1724945831.88113, "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": 1724945831.8919563, "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": "c1ec4952a4c73213bac8210020c3d789d15ea7db4345ab97513c0a0d9918e446"}, "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": 1724945831.8904452, "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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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": 1724945831.904931, "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": 1724945831.8865273, "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": 1724945831.8952684, "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": 1724945831.9006944, "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": 1724945831.8989193, "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": 1724945832.4027176, "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": 1724945832.4118495, "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": 1724945832.4102244, "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": 1724945832.4082549, "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": 1724945832.4003918, "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": 1724945832.4136546, "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": 1724945832.4044862, "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": 1724945832.4063623, "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.gov_vote_recorded_snax_testnet": {"database": "analytics", "schema": "prod_raw_snax_testnet", "name": "gov_vote_recorded_snax_testnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/testnet/gov_vote_recorded_snax_testnet.sql", "original_file_path": "models/raw/snax/testnet/gov_vote_recorded_snax_testnet.sql", "unique_id": "model.synthetix.gov_vote_recorded_snax_testnet", "fqn": ["synthetix", "raw", "snax", "testnet", "gov_vote_recorded_snax_testnet"], "alias": "gov_vote_recorded_snax_testnet", "checksum": {"name": "sha256", "checksum": "4d492db52c54d182c7d208140fb6deaff3f3079ac4ac876236befd6007ab3f0e"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_testnet", "database": null, "tags": ["snax_testnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["snax_testnet"], "description": "Records of voting events", "columns": {"id": {"name": "id", "description": "Unique identifier for the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Name of the event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "UTC timestamp of the block containing the event", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "voter": {"name": "voter", "description": "Ethereum address of the voter", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "candidates": {"name": "candidates", "description": "Array of candidate addresses voted for", "meta": {}, "data_type": "array", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height where the vote was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "voting_power": {"name": "voting_power", "description": "Voting power used in this vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract handling the vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/testnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_testnet", "schema": "raw_snax_testnet"}, "created_at": 1724945832.7082462, "relation_name": "\"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'testnet',\n 'governance_proxy',\n 'vote_recorded'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_testnet", "governance_proxy_event_vote_recorded"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_testnet.governance_proxy_event_vote_recorded"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/gov_vote_recorded_snax_testnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_testnet\".\"governance_proxy_event_vote_recorded\"\n", "extra_ctes_injected": 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_snax_testnet": {"database": "analytics", "schema": "prod_raw_snax_testnet", "name": "blocks_snax_testnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/testnet/blocks_snax_testnet.sql", "original_file_path": "models/raw/snax/testnet/blocks_snax_testnet.sql", "unique_id": "model.synthetix.blocks_snax_testnet", "fqn": ["synthetix", "raw", "snax", "testnet", "blocks_snax_testnet"], "alias": "blocks_snax_testnet", "checksum": {"name": "sha256", "checksum": "50f468c1159874232eeac8d9676b7e505c5c095f9d1def4b3f13ee378f95a35c"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_testnet", "database": null, "tags": ["snax_testnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["snax_testnet"], "description": "", "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/snax/testnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_testnet", "schema": "raw_snax_testnet"}, "created_at": 1724945832.7042196, "relation_name": "\"analytics\".\"prod_raw_snax_testnet\".\"blocks_snax_testnet\"", "raw_code": "SELECT\n DISTINCT \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\nFROM\n {{ source(\n 'raw_snax_testnet',\n 'block'\n ) }}", "language": "sql", "refs": [], "sources": [["raw_snax_testnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_snax_testnet.block"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/blocks_snax_testnet.sql", "compiled": true, "compiled_code": "SELECT\n DISTINCT \"timestamp\" AS ts,\n CAST(\n \"number\" AS INTEGER\n ) AS block_number\nFROM\n \"analytics\".\"raw_snax_testnet\".\"block\"", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "access": "protected", "constraints": [], "version": null, "latest_version": null, "deprecation_date": null}, "model.synthetix.gov_vote_withdrawn_snax_testnet": {"database": "analytics", "schema": "prod_raw_snax_testnet", "name": "gov_vote_withdrawn_snax_testnet", "resource_type": "model", "package_name": "synthetix", "path": "raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql", "original_file_path": "models/raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql", "unique_id": "model.synthetix.gov_vote_withdrawn_snax_testnet", "fqn": ["synthetix", "raw", "snax", "testnet", "gov_vote_withdrawn_snax_testnet"], "alias": "gov_vote_withdrawn_snax_testnet", "checksum": {"name": "sha256", "checksum": "cd4b4fdd997d4256545197ad4783c58a71473e0526f5ee1b79b61099bbf2a8cb"}, "config": {"enabled": true, "alias": null, "schema": "raw_snax_testnet", "database": null, "tags": ["snax_testnet"], "meta": {}, "group": null, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "post-hook": [], "pre-hook": [], "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "on_configuration_change": "apply", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "contract": {"enforced": false, "alias_types": true}, "access": "protected"}, "tags": ["snax_testnet"], "description": "Records of vote withdrawal events on the SNAX testnet blockchain", "columns": {"id": {"name": "id", "description": "Unique identifier for the vote withdrawal event", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "event_name": {"name": "event_name", "description": "Name of the event (always 'VoteWithdrawn' for this table)", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "chain_id": {"name": "chain_id", "description": "Identifier of the blockchain network", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "block_timestamp": {"name": "block_timestamp", "description": "UTC timestamp of the block containing the vote withdrawal event", "meta": {}, "data_type": "timestamp with time zone", "constraints": [], "quote": null, "tags": []}, "voter": {"name": "voter", "description": "Ethereum address of the voter who withdrew their vote", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "epoch_id": {"name": "epoch_id", "description": "Identifier of the voting epoch in which the vote was withdrawn", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "transaction_hash": {"name": "transaction_hash", "description": "Hash of the transaction containing the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}, "block_number": {"name": "block_number", "description": "Block height where the vote withdrawal was recorded", "meta": {}, "data_type": "integer", "constraints": [], "quote": null, "tags": []}, "contract": {"name": "contract", "description": "Address of the contract handling the vote withdrawal", "meta": {}, "data_type": "string", "constraints": [], "quote": null, "tags": []}}, "meta": {}, "group": null, "docs": {"show": true, "node_color": null}, "patch_path": "synthetix://models/raw/snax/testnet/schema.yml", "build_path": null, "unrendered_config": {"enabled": "{{ target.name != 'prod-op' }}", "tags": "snax_testnet", "schema": "raw_snax_testnet"}, "created_at": 1724945832.70988, "relation_name": "\"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"", "raw_code": "{{ get_event_data(\n 'snax',\n 'testnet',\n 'governance_proxy',\n 'vote_withdrawn'\n) }}", "language": "sql", "refs": [], "sources": [["raw_snax_testnet", "governance_proxy_event_vote_withdrawn"]], "metrics": [], "depends_on": {"macros": ["macro.synthetix.get_event_data"], "nodes": ["source.synthetix.raw_snax_testnet.governance_proxy_event_vote_withdrawn"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/gov_vote_withdrawn_snax_testnet.sql", "compiled": true, "compiled_code": "\nSELECT\n *\nFROM\n \"analytics\".\"raw_snax_testnet\".\"governance_proxy_event_vote_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.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": "d9f8e8b22d69eac86fb7f52e9367083dca076232c61cead2e686bf4f3888c9f6"}, "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": 1724945832.7708023, "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),\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),\n\ncombined_blocks as (\n select *\n from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\nfrom\n combined_blocks\ngroup by\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_mainnet", "blocks_parquet"], ["raw_base_mainnet", "block"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_mainnet.blocks_parquet", "source.synthetix.raw_base_mainnet.block"]}, "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),\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),\n\ncombined_blocks as (\n select *\n from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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": 1724945832.8027573, "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": 1724945832.7808547, "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": 1724945832.8064222, "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": "7f6df3cf64e9335f95b3852c751ae49fc43f6b0304b1f7cfff220ecc46c06bdd"}, "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": 1724945832.7844682, "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),\n\ncurrent_events as (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\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),\n\ncurrent_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_order_committed\"\n\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": 1724945832.798559, "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": 1724945832.804563, "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": 1724945832.8002183, "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": 1724945832.7943676, "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": 1724945832.7890525, "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": "8202c92d1e2d6ba19b3f98636c5f53544d39343dc560887d6fce2e33842e01fe"}, "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": 1724945832.7919538, "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),\n\ncurrent_events as (\n {{ get_event_data(\n 'base',\n 'mainnet',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\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),\n\ncurrent_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_mainnet\".\"perps_market_proxy_event_market_updated\"\n\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": 1724945832.7965426, "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": "ad86a92ceacf2d8495687b9268626b6a6359c50455fe6b63236391b7abcc4379"}, "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": 1724945833.1432579, "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),\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),\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": 1724945833.181411, "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": 1724945833.19197, "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": 1724945833.1902153, "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": 1724945833.200569, "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": 1724945833.1956313, "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": 1724945833.1849768, "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": 1724945833.1992648, "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": 1724945833.1831126, "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": 1724945833.1773813, "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": "76b40c3d416966f7e452a1d8006640578fd2f7fd25afb3451ba394794247c0c7"}, "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": 1724945833.1871016, "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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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": 1724945833.193874, "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": 1724945833.1974385, "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": "8fd715210bbdb0f6771f132cecf7c84146097b2df1b2b37a9577bc757a06737e"}, "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": 1724945833.2017572, "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(\n blocks.timestamp\n ) 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(\n 'raw_base_mainnet',\n 'blocks_parquet'\n ) }} 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(\n blocks.timestamp\n ) 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": 1724945833.1886754, "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": 1724945833.1796389, "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": 1724945833.781598, "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": 1724945833.783332, "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": 1724945833.7762492, "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": 1724945833.7708972, "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": 1724945833.7781174, "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": 1724945833.7729912, "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": 1724945833.7746322, "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": 1724945833.779987, "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": "1fc613e0ad44346ebf6634812bb916bea9cf1ace3b4a4d4763355752ddd173df"}, "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": 1724945834.0490077, "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),\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),\n\ncombined_blocks as (\n select *\n from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\nfrom\n combined_blocks\ngroup by\n block_number", "language": "sql", "refs": [], "sources": [["raw_base_sepolia", "block"], ["raw_base_sepolia", "blocks_parquet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.synthetix.raw_base_sepolia.block", "source.synthetix.raw_base_sepolia.blocks_parquet"]}, "compiled_path": "target/compiled/synthetix/models/raw/base/sepolia/blocks_base_sepolia.sql", "compiled": true, "compiled_code": "with indexer_blocks as (\n select\n timestamp as ts,\n CAST(\n number as INTEGER\n ) as block_number\n from\n \"analytics\".\"raw_base_sepolia\".\"block\"\n),\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),\n\ncombined_blocks as (\n select *\n from\n indexer_blocks\n\n union all\n\n select *\n from\n parquet_blocks\n)\n\nselect\n block_number,\n MIN(ts) as ts\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": "d2f52da4167e7646c25682e824837d8659db2036fc56ae2bcf8a2925e132b4aa"}, "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": 1724945834.0613182, "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),\n\ncurrent_events as (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'order_committed'\n ) }}\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),\n\ncurrent_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_order_committed\"\n\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": 1724945834.0634003, "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": "74cd4f55bd7ff127697a9a5ed66e9bee0b37b1a9c44b2c2440184107ac2560ed"}, "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": 1724945834.065227, "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),\n\ncurrent_events as (\n {{ get_event_data(\n 'base',\n 'sepolia',\n 'perps_market_proxy',\n 'market_updated'\n ) }}\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),\n\ncurrent_events as (\n \nSELECT\n *\nFROM\n \"analytics\".\"raw_base_sepolia\".\"perps_market_proxy_event_market_updated\"\n\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": 1724945834.0702252, "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": 1724945834.0764534, "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": 1724945834.059173, "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": 1724945834.0736294, "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": 1724945834.0685894, "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": 1724945834.0750027, "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": 1724945834.0670178, "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": 1724945834.0719192, "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": "6aeea8d8f222bc27cc7fae26fa6325575b54c703d6aa25b291c44f187e0a55f3"}, "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": 1724945834.4095592, "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": 1724945834.4579756, "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": "0105f2b7d9742480fe26368a3d3a1cd10be49ebe2bb7c91b8ce6d87d10b04864"}, "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": 1724945834.451264, "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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\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 ) as collateral_deposited -- noqa: AL05\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 ) as collateral_withdrawn -- noqa: AL05\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 ) as usd_deposited -- noqa: AL05\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 ) as usd_withdrawn -- noqa: AL05\n)\n\nselect *\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": 1724945834.4457529, "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": 1724945834.4419692, "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": 1724945834.4647021, "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": 1724945834.4474049, "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": 1724945834.4633534, "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": 1724945834.4560568, "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": 1724945834.4492447, "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": 1724945834.4615607, "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": 1724945834.4439518, "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": 1724945834.4658923, "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": 1724945834.459741, "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": 1724945834.4528067, "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": 1724945834.4543104, "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": 1724945834.9803166, "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": 1724945834.9913764, "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": 1724945834.985815, "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": 1724945834.9896715, "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": 1724945834.993183, "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": 1724945834.984126, "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": 1724945834.9876854, "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": 1724945834.9824777, "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": "1368f167dc6807019774b86156f1851815569f639010161adaa296b99c7805c9"}, "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": 1724945835.2885349, "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,\n -{{ convert_wei('token_amount') }} as token_amount,\n collateral_type\n from\n {{ ref('core_withdrawn_eth_mainnet') }}\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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 -\n token_amount / 1e18\n as token_amount,\n collateral_type\n from\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_withdrawn_eth_mainnet\"\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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": "2c4f7ce1fb00a3fa267565d1a46a778f0f0a2236368101f1b9322d19d83a45dc"}, "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": 1724945828.7580025, "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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "e316d893ef40cb9a593a6c5a302dcee5836fb1333250920a5f8f62de4925f4c3"}, "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": 1724945835.2964048, "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 select\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)), '1 hour'::interval\n ) as ts,\n p.pool_id,\n p.collateral_type\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n {{ ref('fct_pool_debt_eth_mainnet') }}\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n {{ ref('core_vault_collateral_eth_mainnet') }}\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt.debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral.collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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),\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 ) as 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 (\n coalesce(iss.hourly_issuance, 0)\n + pnl.hourly_pnl\n + coalesce(migration.hourly_debt_migrated, 0)\n ) / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n + coalesce(migration.hourly_debt_migrated, 0)\n ) / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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 as migration\n on\n 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)\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 select\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)), '1 hour'::interval\n ) as ts,\n p.pool_id,\n p.collateral_type\n from\n (\n select ts\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n \"analytics\".\"prod_raw_eth_mainnet\".\"core_vault_collateral_eth_mainnet\"\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt.debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral.collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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),\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 ) as 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 (\n coalesce(iss.hourly_issuance, 0)\n + pnl.hourly_pnl\n + coalesce(migration.hourly_debt_migrated, 0)\n ) / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n + coalesce(migration.hourly_debt_migrated, 0)\n ) / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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 as migration\n on\n 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)\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": "f8b02790670e9b666c282af57dca1a2f5fe3ca82c4e5dc0fba8878e56855eee3"}, "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": 1724945828.7643487, "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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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": "f8d622721e8ccd63150bd421d135fb6fd4769ae4b22a31845e92e3c80a850a3b"}, "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": 1724945835.301351, "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 -- SNX collateral\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type,\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 -- SNX collateral\n '0xC011a73ee8576Fb46F5E1c5751cA3B9Fe0af2a6F' as collateral_type,\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": "e1ca496d4d76d5450c85e4d5e0594baf09adea6b2c88c61e82aff48f87646f82"}, "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": 1724945835.2974072, "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)\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)\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": "b0a4b857b20e1eaa9cd4c2cf4b5e8ac5119559b9b486aba58253db38228336ed"}, "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": 1724945835.2919152, "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": "1ae6df91666d8b2ba2e8e95d2d3d128c6ded4202f7651e221e9856d9367622b3"}, "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": 1724945835.2928827, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_hourly_eth_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_issuance_eth_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n {{ ref('fct_pool_issuance_eth_mainnet') }}\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_issuance_eth_mainnet\"\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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": "a66e0f58b50e31e015be84484cd2d78039bed8b5a3da8965d1ef5e57bbf5bccb"}, "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": 1724945835.3024535, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_core_migration_hourly_eth_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\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 ts,\n pool_id,\n collateral_type\n)\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\nleft join migration as m\n on\n 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_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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\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 ts,\n pool_id,\n collateral_type\n)\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\nleft join migration as m\n on\n 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": "8fd8b3a0e91350cceff70bc4b5519dad5cb1dc07ac418671fc03e2da87ee0f05"}, "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": 1724945835.289593, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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": "6165828640045333e5539ef342c7672bca6624f6ca251f0a06b6c31c1a5c44ec"}, "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": 1724945835.2941313, "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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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": "ac87dcfb18b2bfcd181283ace0f66a3811cca9452f27d37c52a62d7022d3c584"}, "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": 1724945835.2738326, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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": "43499a64abfa77116f66b6a98fdfa4c8fdc7c9957f926caac8faa5a64099f978"}, "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": 1724945835.2873592, "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)\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)\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": "ef07ba333fd578d9edc3b0ec20aea1504d0bfdc16e82d1a6047856486b99e1e0"}, "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": 1724945835.2857072, "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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.hourly_debt_migrated,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.hourly_debt_migrated,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "f105de6f2c9b29dc0d9448e6597c948fdcb1d98ddb5f34ce0302c54908ad2a94"}, "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": 1724945835.2722335, "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),\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)\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 as rd\ninner 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),\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)\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 as rd\ninner 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": "e880c5ee9f10d66e72f2cd4f033cc3d95f4c2a5cc24ca6aedfd72e25fea4a003"}, "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": 1724945835.2908726, "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)\n\nselect *\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)\n\nselect *\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": "c47f9d635571a3dece0f93c96f193cfac1b87de84931530d1cb830f2678c12ab"}, "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": 1724945835.299747, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_pool_rewards_token_hourly_eth_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_eth_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n {{ ref('fct_prices_hourly_eth_mainnet') }}\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_pool_debt_eth_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n \"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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": "c112b9a2a8ab56c4795dc50824546937247b65bbae7e95b9332b9b148872e158"}, "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": 1724945835.6280532, "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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n {{ ref('eth_mainnet_tokens') }}\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n \"analytics\".\"prod_seeds\".\"eth_mainnet_tokens\"\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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": "ed6d647adfb433ce3c63b1ab6a5d3944ca8aa41266ff0d74d2fee2a56fa45721"}, "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": 1724945835.6290429, "relation_name": "\"analytics\".\"prod_eth_mainnet\".\"fct_prices_hourly_eth_mainnet\"", "raw_code": "with prices as (\n select distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n {{ ref('fct_prices_eth_mainnet') }}\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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 distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n \"analytics\".\"prod_eth_mainnet\".\"fct_prices_eth_mainnet\"\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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": "f7f9f9b01b4cafa22a85b3bff725682201ea2828feb5174206dd247d4619e824"}, "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": 1724945835.660693, "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": "35dda89cfd08180ea67f0a7cdf6ddd92bb64c3ae830f427e7d6fecdf0de23fe5"}, "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": 1724945835.6521502, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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": "9adbc5c9f2c825729c63f154c53c9d47f8ba64d865791c812a3866d22adf08eb"}, "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": 1724945835.6553528, "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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "99f11ab2fdbe473b023552ce781ce768c781740cf0c7d73a08475e2aabb44d6c"}, "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": 1724945835.6672306, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_rewards_token_hourly_arbitrum_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n {{ ref('fct_prices_hourly_arbitrum_mainnet') }}\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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": "c76ad541395db666cdadbb5feccd9174bc4dde6774553a21b79c935f0d2fadda"}, "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": 1724945835.6616466, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_hourly_arbitrum_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n {{ ref('fct_pool_issuance_arbitrum_mainnet') }}\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_issuance_arbitrum_mainnet\"\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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": "a7d2018aaf8b11540555a03e4e511ecf8f9566e72df99027165060f378b7635c"}, "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": 1724945835.6596065, "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)\n\nselect *\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)\n\nselect *\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": "c2cfa14e157cabb1db5a6072bff2ffab4b387939f14461a574406971da46dbd1"}, "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": 1724945835.6569362, "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)\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)\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": "6e967a32d0c2716201344829e717858c6637bdbc9c6216cc69e3f6e75949ae47"}, "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": 1724945835.658661, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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": "9c095e50fc54529dbcb0f1c5d67011c5bba6e896bf81111bc5c5f7f50d5495b2"}, "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": 1724945835.6510093, "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),\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)\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 as rd\ninner join distributors on rd.distributor = distributors.distributor_address\norder by\n rd.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),\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)\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 as rd\ninner join distributors on rd.distributor = distributors.distributor_address\norder by\n rd.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": "8167717e8d32d87aa7f7f8dfc21f5ab27440369de1e91be9b9c6a8ca4cc6b7f8"}, "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": 1724945835.665688, "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)\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)\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": "a228da81191e44d151ae8edca1f15a47d8bacd86ed7a44c48fd58e7e53d0b919"}, "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": 1724945828.8719835, "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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "e7147c37d0705146a98e195aa1284070fcaff4967bb80a76292eba1e5add3b06"}, "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": 1724945835.662962, "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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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": "8e5b4b07dacef52f49f5ca731fac0292aef0737e1bd44e64649054c1a39c59b8"}, "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": 1724945828.8808856, "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 select\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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 select\n t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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": "295fe641d4cb0bc1201637b39a07a3addaab722e61580b7900a436a96cbe3404"}, "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": 1724945835.6577694, "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,\n -{{ convert_wei('token_amount') }} as token_amount,\n collateral_type\n from\n {{ ref('core_withdrawn_arbitrum_mainnet') }}\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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 -\n token_amount / 1e18\n as token_amount,\n collateral_type\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_withdrawn_arbitrum_mainnet\"\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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": "a2f675e95ce7b73867c14755560c7188bc5198500f3a7eece87c49ccbda54ace"}, "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": 1724945835.6647046, "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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n {{ ref('fct_pool_debt_arbitrum_mainnet') }}\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n {{ ref('core_vault_collateral_arbitrum_mainnet') }}\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_pool_debt_arbitrum_mainnet\"\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n \"analytics\".\"prod_raw_arbitrum_mainnet\".\"core_vault_collateral_arbitrum_mainnet\"\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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": "d0577b442c3b1d733bb186a7199207ca290fc777eee4f4824459476ac63f2194"}, "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": 1724945835.9505987, "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),\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)\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),\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)\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": "24a8a960adbaa9e79f8ab623c5448c80182f5a54887af56d0433bde1b6b65f4d"}, "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": 1724945835.948818, "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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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": "347d59a50d5eb0d40ae0c9d677465100d7c6522abbd0005d0e6049ef6a48363f"}, "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": 1724945835.9518726, "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)\n\nselect *\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)\n\nselect *\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": "7a174051557347bd0661e740591d0d62a1434acdbd84d6ed3abf4d891d4fe576"}, "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": 1724945835.9530964, "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),\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)\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),\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)\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": "adb0a4752e3ca52e480fa95bb310e252c2c857fc236f0d56df4570320ec0d4e5"}, "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": 1724945836.0126038, "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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n {{ ref('arbitrum_mainnet_tokens') }}\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n \"analytics\".\"prod_seeds\".\"arbitrum_mainnet_tokens\"\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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": "834bd55c5650a95ca67c6c17b1d34a5e0fda1040bb164b89818c3b1e97703e29"}, "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": 1724945836.0135393, "relation_name": "\"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_hourly_arbitrum_mainnet\"", "raw_code": "with prices as (\n select distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n {{ ref('fct_prices_arbitrum_mainnet') }}\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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 distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n \"analytics\".\"prod_arbitrum_mainnet\".\"fct_prices_arbitrum_mainnet\"\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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": "aa0bd94277edb8c636386b5f27831d8cef3f67789e68989e83bd9f4b7001f8be"}, "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": 1724945836.0466437, "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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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": "5892f6c0c2610136937b378d59329c8ae34e49ef214588b98388283966c3dc18"}, "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": 1724945836.0343907, "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),\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)\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 as rd\ninner 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),\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)\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 as rd\ninner 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": "d50a9d0ba95be8c42f7da6b41894b4005d99e8640823f972e2a7828abbb9ef96"}, "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": 1724945836.038829, "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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "f111ca13e9c3a8db84eb343e343a3b529f248b46290494575903d8d952b7e881"}, "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": 1724945836.0432951, "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)\n\nselect *\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)\n\nselect *\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": "0601a660fbddc056334d9e17391d9915d2d64f46736d7efb501e3a92a5516818"}, "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": 1724945836.03555, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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": "4008b94f74d1a2abcfe43c937b8aea6bfd97247c3a5dab2d4c32a2562cc15fba"}, "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": 1724945836.0484216, "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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n {{ ref('core_vault_collateral_arbitrum_sepolia') }}\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_vault_collateral_arbitrum_sepolia\"\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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": "ce96abe439ca1e006d3620a3cd8ddf3f80d300314d2db589959fd1f773ff5d52"}, "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": 1724945836.0412638, "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,\n -{{ convert_wei('token_amount') }} as token_amount,\n collateral_type\n from\n {{ ref('core_withdrawn_arbitrum_sepolia') }}\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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 -\n token_amount / 1e18\n as token_amount,\n collateral_type\n from\n \"analytics\".\"prod_raw_arbitrum_sepolia\".\"core_withdrawn_arbitrum_sepolia\"\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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": "cbbcef4558af4b6702e351912ed7c272d566b50fc407943347fbe21c1d4b4164"}, "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": 1724945836.051056, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_rewards_token_hourly_arbitrum_sepolia\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_arbitrum_sepolia') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n {{ ref('fct_prices_hourly_arbitrum_sepolia') }}\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_debt_arbitrum_sepolia\"\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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": "71f58d4d036feac0526febb27246e37d012152c3aabdaaeecb9c64d2ee29d4d6"}, "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": 1724945828.9588854, "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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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": "6db2b62fac3b97af6cb6eb6aeb8e978ea9e301af9abae2bedc668cb28e1a8532"}, "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": 1724945836.0422547, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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": "e965d1178bad70d3a67f99a340ef68fb4f8cec36e038471bcb41c1e988092eaa"}, "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": 1724945836.045384, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_hourly_arbitrum_sepolia\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n {{ ref('fct_pool_issuance_arbitrum_sepolia') }}\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_pool_issuance_arbitrum_sepolia\"\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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": "9bb86ae1b0b9c969bc99507e4ade2209aed652ed9d0d053d3ce61b9f8d952355"}, "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": 1724945828.9705858, "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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "727af3131b5b58bf44deeee888b47920dc5f38053eb0536a11a1cd4ddf2442fe"}, "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": 1724945836.04951, "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)\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)\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": "3c3d810141e743a60f6b1d9a850a239ae7c7cf06d62c50abc208390f816f46b3"}, "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": 1724945836.0403898, "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)\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)\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": "bf978fadf88207d3b9422726a7e85fc2faa3d6adee63cf429dbf8115c6796003"}, "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": 1724945836.044368, "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": "c2d48200394a1756128b70264de17160e0ae60db811a25cce88a3d62c5c531e7"}, "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": 1724945836.331087, "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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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": "29d35394926b2558d0bbaf5c238df5202c7e0915d3604024c9d368cb7454ab59"}, "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": 1724945836.3336208, "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)\n\nselect *\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)\n\nselect *\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": "49f350fb89c3a272aba3ed08f540ec29890804cce04912b630ed546175544dcb"}, "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": 1724945836.3348577, "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),\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)\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),\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)\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": "d672ea309036690687af2b401000694d529051ca004e255842a471feffa5f1bf"}, "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": 1724945836.3325562, "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),\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)\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),\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)\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": "740acac666e0b524e14d8c59729a1e2e39e8fdcdb728a62a7ec56e3598bb23bd"}, "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": 1724945836.3957696, "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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n {{ ref('arbitrum_sepolia_tokens') }}\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n \"analytics\".\"prod_seeds\".\"arbitrum_sepolia_tokens\"\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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": "58e49ba03fcaf32cc79b26eb7cc3ac64b29fb49fafeb4631d2ad3fae44936ac7"}, "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": 1724945836.3968158, "relation_name": "\"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_hourly_arbitrum_sepolia\"", "raw_code": "with prices as (\n select distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n {{ ref('fct_prices_arbitrum_sepolia') }}\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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 distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n \"analytics\".\"prod_arbitrum_sepolia\".\"fct_prices_arbitrum_sepolia\"\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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": "ea4062111326a833ce0f48c435d921eab0660b619f33071494bc1c82b021f105"}, "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": 1724945836.4529061, "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)\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)\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": "51e700e5190ad7d4cad6c3f8eea97c4ef8e99d1c7a423a0df4dbd78ba14feaec"}, "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": 1724945836.448484, "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": "80766704eceb1f1df8a61e639d718ef19c9afbf6795cd9e3c11f3b7ca612e335"}, "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": 1724945836.461268, "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\n + {{ convert_wei('interest_rate') }} as long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25\n + {{ convert_wei('interest_rate') }} as short_rate_apr\n from\n {{ ref('perp_market_updated_base_mainnet') }}\n as mu\n left join\n {{ ref('fct_perp_markets_base_mainnet') }}\n as m\n on mu.market_id = m.id\n)\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 + \n interest_rate / 1e18\n as long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25\n + \n interest_rate / 1e18\n as short_rate_apr\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_market_updated_base_mainnet\"\n as mu\n left join\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n as m\n on mu.market_id = m.id\n)\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": "033611406c218e5342ce71f740481b8c38ae78f5d10db687b60a7deeac62b4d9"}, "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": 1724945836.4561582, "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 as oc\n left join {{ ref('fct_perp_markets_base_mainnet') }} as markets\n on oc.market_id = markets.id\n)\n\nselect *\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 as oc\n left join \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\" as markets\n on oc.market_id = markets.id\n)\n\nselect *\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": "4469b3ade5fb83fd26590f64953d3ced6ae8322202010b938c6a1140f5be93b8"}, "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": 1724945836.4468896, "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": "d1d97ba909557d50da4f2c97fa2bb0b7514d7b56591bfd76725ab931dfb3b827"}, "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": 1724945836.4454296, "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": "2f13688fbdec07d12d0946f788ae59be72167f1ce65fd72845770afab32b9956"}, "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": 1724945836.454025, "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)\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)\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": "a59225fcd7d37156d387e7cac78c3beb468ec38e6c985ff81d9cd83fb1577915"}, "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": 1724945836.4572277, "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)\n\nselect *\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)\n\nselect *\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": "bf700097a900e41dcdc57b7df07e254229a471a18798ce878e1158f555a2b679"}, "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": 1724945836.4628954, "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),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n {{ ref('fct_perp_markets_base_mainnet') }}\n)\n\nselect\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size,\n CAST(\n l.account_id as text\n ) as account_id\nfrom\n liquidations as l\nleft join markets as 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),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_markets_base_mainnet\"\n)\n\nselect\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size,\n CAST(\n l.account_id as text\n ) as account_id\nfrom\n liquidations as l\nleft join markets as 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": "8320e06b99c3e573552461bf0ea22cb8bbaaeaebb49da6b1c6fd94e5aaaa81ee"}, "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": 1724945836.4640498, "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\n rows between unbounded preceding\n and current row\n ) as liquidation_id\n from\n {{ ref('perp_account_liquidation_attempt_base_mainnet') }}\n),\n\ncumulative_rewards as (\n select\n block_timestamp,\n reward,\n full_liquidation,\n liquidation_id,\n CAST(\n account_id as text\n ) as account_id,\n SUM({{ convert_wei('reward') }}) over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp\n ) as cumulative_reward,\n ROW_NUMBER() over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp desc\n ) as rn\n from\n liquidation_events\n order by\n block_timestamp\n)\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\n 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),\n\ncumulative_rewards as (\n select\n block_timestamp,\n reward,\n full_liquidation,\n liquidation_id,\n CAST(\n account_id as text\n ) as account_id,\n SUM(\n reward / 1e18\n) over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp\n ) as cumulative_reward,\n ROW_NUMBER() over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp desc\n ) as rn\n from\n liquidation_events\n order by\n block_timestamp\n)\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": "c7e52518d36fc5553cbf49de9f7bcb785ec3b490685100b7b0c047c1ba3b325b"}, "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": 1724945836.4649048, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_accounts_base_mainnet\"", "raw_code": "with base as (\n select\n block_timestamp as created_ts,\n \"owner\",\n CAST(\n account_id as VARCHAR\n ) as id\n from\n {{ ref('perp_account_created_base_mainnet') }}\n)\n\nselect *\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 block_timestamp as created_ts,\n \"owner\",\n CAST(\n account_id as VARCHAR\n ) as id\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"perp_account_created_base_mainnet\"\n)\n\nselect *\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": "3a1917fbb77b2dc7f9ce708dd84d4124aa7b1bc84378612a1ce99336c68ec2da"}, "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": 1724945836.7480185, "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 date_trunc(\n 'hour',\n ts\n )\n) -- add cumulative amounts\n\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 date_trunc(\n 'hour',\n ts\n )\n) -- add cumulative amounts\n\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": "ccad49f3e6ed9ae2bbbee59bd3294f6250907d5bd7873706d4073abf9c237ce6"}, "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": 1724945836.746825, "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 date_trunc(\n 'day',\n ts\n )\n) -- add cumulative amounts\n\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 date_trunc(\n 'day',\n ts\n )\n) -- add cumulative amounts\n\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": "c01d49caa1d2333dea8bd61cba17c0cbeedf272e0d8d1414e6871c95cc925797"}, "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": 1724945836.7496524, "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": "8d979c21f493eb57ac1767fdfdd204b41311d3a12730e39cca1521254ae7242b"}, "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": 1724945836.8384163, "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)\n\nselect *\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)\n\nselect *\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": "bc0df72bf41aa917da0b22aa6fefc1b81273eb548198608a6d0f7db486849684"}, "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": 1724945836.8449724, "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)\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)\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": "7717b344102050d2e881d58c5d5353b86f5040b7e59561352574ee7b71c56c03"}, "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": 1724945836.8283322, "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": "756cbd0e2917fbfee3f9226f32daa7ec75bbd9d238bf0c1f3564051af74a9d8c"}, "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": 1724945836.8356411, "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)\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)\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": "04a2da4fdaa4addb85bc32a6717a65b58948a29319f1605df95f9eba837bace9"}, "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": 1724945829.1727355, "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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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": "bc107cacc46da26d794f183cf7ec9391b141ebf2cc12c5e8319d208a84495942"}, "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": 1724945836.8298492, "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),\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)\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 as rd\ninner 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),\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)\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 as rd\ninner 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": "c892ce743ae929ee79766a7fca81485782de42c221ba2e9db7a54863fc153a55"}, "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": 1724945836.8419895, "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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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": "74b9087bc1c5aff2d4719fa819b22e7c47a6da3b4664caf61474972626ae39e8"}, "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": 1724945829.188027, "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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "62ceb4cc3836c1469c5a11a13f5f7e210a73e6bd2cacc5ccbe88853f00516a87"}, "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": 1724945836.840584, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_hourly_base_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_issuance_base_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n {{ ref('fct_pool_issuance_base_mainnet') }}\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_issuance_base_mainnet\"\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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": "f23a34528897c00f0264b5f995bd6be4ef9b047fc27ce066f4ac4ca089fbf48c"}, "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": 1724945836.8439178, "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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n {{ ref('fct_pool_debt_base_mainnet') }}\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n {{ ref('core_vault_collateral_base_mainnet') }}\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"core_vault_collateral_base_mainnet\"\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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": "cbc4fc1380e17abf3c0b4b54127ff7d417eabf70917c2daad9017cb8a980077a"}, "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": 1724945836.8309464, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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": "749d84c84651119f034f1699e15e1ce934d7afeca0c04040a01092e1c15d81fd"}, "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": 1724945836.8465264, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_pool_rewards_token_hourly_base_mainnet\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_base_mainnet') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n {{ ref('fct_prices_hourly_base_mainnet') }}\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_pool_debt_base_mainnet\"\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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": "c879068df56e7407dd4e9efb9acbcab4e0bc3023e7ad916431891d4d9db7f1ad"}, "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": 1724945836.8395083, "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": "f14f2688cb1429748ac2ecd1bdb5d04e4aad55c056fbe264fd0acdfa6c974051"}, "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": 1724945836.8374567, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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": "36700160a51992dddbf1fc24e59550ccae1b51863565357e31d78e13d3329a6d"}, "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": 1724945836.8364792, "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,\n -{{ convert_wei('token_amount') }} as token_amount,\n collateral_type\n from\n {{ ref('core_withdrawn_base_mainnet') }}\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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 -\n token_amount / 1e18\n as token_amount,\n collateral_type\n from\n \"analytics\".\"prod_raw_base_mainnet\".\"core_withdrawn_base_mainnet\"\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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": "4a04f515853dd5e97354d8f8a7be3fa46c3644c1d305d1d17009672683f62eae"}, "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": 1724945836.8339934, "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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "412b1248b00fc7a26e2dfd4c478a3408bb6c74820ad107316335caefad69234a"}, "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": 1724945837.1502197, "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 DATE_TRUNC(\n 'day',\n ts\n )", "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 DATE_TRUNC(\n 'day',\n ts\n )", "extra_ctes_injected": true, "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": "abf858858c9f32a06f12667316c51ff47f3fdfe8c381d2ab002fda9faf640c96"}, "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": 1724945837.1459382, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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": "98e22cdfb04d3a702a025ce03b25993a0c53de7d0656697ccbb1c946e5ad9c46"}, "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": 1724945837.1513836, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n trades\n ) as t\n cross join (\n select distinct market_symbol\n from\n trades\n ) as m\n group by\n m.market_symbol\n),\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 as h\n on\n dim.ts = h.ts\n and dim.market_symbol = h.market_symbol\n left join inc_liq as l\n on\n dim.ts = l.ts\n and dim.market_symbol = l.market_symbol\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n trades\n ) as t\n cross join (\n select distinct market_symbol\n from\n trades\n ) as m\n group by\n m.market_symbol\n),\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 as h\n on\n dim.ts = h.ts\n and dim.market_symbol = h.market_symbol\n left join inc_liq as l\n on\n dim.ts = l.ts\n and dim.market_symbol = l.market_symbol\n)\n\nselect *\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": "79741ddca1998af71705ce94083c860edb8bfde44d63a69116736b8c5e1d576c"}, "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": 1724945837.1491117, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n )\n),\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 ts\n),\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 h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_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 from\n inc_trade as h\n left join inc_liq as l\n on h.ts = l.ts\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n )\n),\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 ts\n),\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 h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_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 from\n inc_trade as h\n left join inc_liq as l\n on h.ts = l.ts\n)\n\nselect *\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": "5055b5b38dd2bfba9c39eed7604544c5bd6b0362795270db350d41aa576abd61"}, "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": 1724945837.1585813, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n account_id\n),\n\nstats as (\n select\n *,\n SUM(fees) over (\n partition by account_id\n order by\n ts\n 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\n range between unbounded preceding\n and current row\n ) as cumulative_volume\n from\n daily\n)\n\nselect *\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 DATE_TRUNC(\n 'day',\n ts\n ),\n account_id\n),\n\nstats as (\n select\n *,\n SUM(fees) over (\n partition by account_id\n order by\n ts\n 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\n range between unbounded preceding\n and current row\n ) as cumulative_volume\n from\n daily\n)\n\nselect *\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": "a62cbd2589ac7d54369960b03c8e8a8d4ccce750e4c5312a2b328ecd15c2fbef"}, "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": 1724945837.1554053, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"", "raw_code": "with trades as (\n select\n settler,\n settlement_reward,\n notional_trade_size,\n 1 as trades,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts\n from\n {{ ref('fct_perp_trades_base_mainnet') }}\n),\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 ts\n)\n\nselect\n trades.ts,\n trades.settler as keeper,\n SUM(trades.trades) as trades,\n SUM(trades.settlement_reward) as settlement_rewards,\n SUM(trades.notional_trade_size) as amount_settled,\n SUM(trades.trades) / MAX(total.trades_total) as trades_pct,\n SUM(trades.settlement_reward)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(trades.notional_trade_size)\n / MAX(total.notional_trade_size_total) as amount_settled_pct\nfrom\n trades\ninner join total\n on trades.ts = total.ts\ngroup by\n trades.ts,\n trades.settler", "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 settler,\n settlement_reward,\n notional_trade_size,\n 1 as trades,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_trades_base_mainnet\"\n),\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 ts\n)\n\nselect\n trades.ts,\n trades.settler as keeper,\n SUM(trades.trades) as trades,\n SUM(trades.settlement_reward) as settlement_rewards,\n SUM(trades.notional_trade_size) as amount_settled,\n SUM(trades.trades) / MAX(total.trades_total) as trades_pct,\n SUM(trades.settlement_reward)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(trades.notional_trade_size)\n / MAX(total.notional_trade_size_total) as amount_settled_pct\nfrom\n trades\ninner join total\n on trades.ts = total.ts\ngroup by\n trades.ts,\n trades.settler", "extra_ctes_injected": true, "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": "1f0e234707cdeb7eeb9ae8f6d81657cf027b247f950545c0ef2465a02ee14451"}, "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": 1724945837.1526542, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "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 DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "extra_ctes_injected": true, "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": "472ded03fb791029aa57f595630296b4b691eee08dba084852c4339c76a7af0e"}, "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": 1724945837.1576855, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 as h\n left join inc_liq as l\n on\n h.ts = l.ts\n and h.account_id = l.account_id\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 as h\n left join inc_liq as l\n on\n h.ts = l.ts\n and h.account_id = l.account_id\n)\n\nselect *\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": "4b74f6ad921ed0f36b6929e9da39c5be27e2f53355f380503fe8074278e7b1b9"}, "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": 1724945837.1563056, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_daily_base_mainnet\"", "raw_code": "with hourly as (\n select\n keeper,\n settlement_rewards,\n amount_settled,\n trades,\n DATE_TRUNC(\n 'day',\n ts\n ) as ts\n from\n {{ ref('fct_perp_keeper_stats_hourly_base_mainnet') }}\n),\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 ts\n)\n\nselect\n hourly.ts,\n hourly.keeper,\n SUM(hourly.trades) as trades,\n SUM(hourly.settlement_rewards) as settlement_rewards,\n SUM(hourly.amount_settled) as amount_settled,\n SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,\n SUM(hourly.settlement_rewards)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(hourly.amount_settled)\n / MAX(total.amount_settled_total) as amount_settled_pct\nfrom\n hourly\ninner join total\n on hourly.ts = total.ts\ngroup by\n hourly.ts,\n hourly.keeper", "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 keeper,\n settlement_rewards,\n amount_settled,\n trades,\n DATE_TRUNC(\n 'day',\n ts\n ) as ts\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_perp_keeper_stats_hourly_base_mainnet\"\n),\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 ts\n)\n\nselect\n hourly.ts,\n hourly.keeper,\n SUM(hourly.trades) as trades,\n SUM(hourly.settlement_rewards) as settlement_rewards,\n SUM(hourly.amount_settled) as amount_settled,\n SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,\n SUM(hourly.settlement_rewards)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(hourly.amount_settled)\n / MAX(total.amount_settled_total) as amount_settled_pct\nfrom\n hourly\ninner join total\n on hourly.ts = total.ts\ngroup by\n hourly.ts,\n hourly.keeper", "extra_ctes_injected": true, "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": "f6937d650c863d89b7dffde3c85734a96f8115dc2e967536a96125df84a4550f"}, "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": 1724945837.1447737, "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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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": "981a105d43b38a70b50f33094f38b6b4df69e39138911fe149b5177e592959d4"}, "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": 1724945837.1622362, "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)\n\nselect *\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)\n\nselect *\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": "4419b2e1c8036296dd1a540b60d74b96f94e236f9c937ba6218868703de900dc"}, "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": 1724945837.159856, "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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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": "f28d8b975bc1afda0f1e1df477819cc70af5f80c02f3a8ec3fbc5ab7f0731282"}, "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": 1724945837.1634107, "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),\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)\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),\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)\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": "fab3a0b0444906b9e1a25dc64eae583abb4caba6951df4495bf547a0d803481d"}, "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": 1724945837.1612878, "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),\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)\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),\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)\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": "2e6c67731561ea289f87babb4983269aa39419e9f72260dc54d9177fd35f20a2"}, "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": 1724945837.224329, "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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n {{ ref('base_mainnet_tokens') }}\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n \"analytics\".\"prod_seeds\".\"base_mainnet_tokens\"\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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": "43ad17c759b4bb08ffa0dbce5d42ce471bf79bd8873d7be993fff86e2303e2b6"}, "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": 1724945837.225255, "relation_name": "\"analytics\".\"prod_base_mainnet\".\"fct_prices_hourly_base_mainnet\"", "raw_code": "with prices as (\n select distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n {{ ref('fct_prices_base_mainnet') }}\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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 distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n \"analytics\".\"prod_base_mainnet\".\"fct_prices_base_mainnet\"\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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": "2ae3e502695519309d99b7a21e913bf15cea6d4a9c015a14f1c80c3e2fe6eccc"}, "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": 1724945837.3651607, "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\n + {{ convert_wei('interest_rate') }} as long_rate_apr,\n {{ convert_wei('current_funding_rate') }} * -1 * 365.25\n + {{ convert_wei('interest_rate') }} as short_rate_apr\n from\n {{ ref('perp_market_updated_base_sepolia') }}\n as mu\n left join\n {{ ref('fct_perp_markets_base_sepolia') }}\n as m\n on mu.market_id = m.id\n)\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 + \n interest_rate / 1e18\n as long_rate_apr,\n \n current_funding_rate / 1e18\n * -1 * 365.25\n + \n interest_rate / 1e18\n as short_rate_apr\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_market_updated_base_sepolia\"\n as mu\n left join\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n as m\n on mu.market_id = m.id\n)\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": "cc3449b675d44259dc3a7d81ff632944c35a217291de0b90a7f4d3f5631703f6"}, "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": 1724945837.3685184, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_accounts_base_sepolia\"", "raw_code": "with base as (\n select\n block_timestamp as created_ts,\n \"owner\",\n CAST(\n account_id as VARCHAR\n ) as id\n from\n {{ ref('perp_account_created_base_sepolia') }}\n)\n\nselect *\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 block_timestamp as created_ts,\n \"owner\",\n CAST(\n account_id as VARCHAR\n ) as id\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"perp_account_created_base_sepolia\"\n)\n\nselect *\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": "daf5d33ea6e29959a633ac5df768642a8f68a645e3bd3852fa3a0aa1c0f12745"}, "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": 1724945837.3555958, "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": "48f6b82a3de24fdff56a4eb6f964c0d16ae7488906d8dde14eccf530ac75fa65"}, "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": 1724945837.3522263, "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": "00342d939b35429a57187928d0100fb5cd6c1f3bfc83441dc32ce7858dc38051"}, "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": 1724945837.36766, "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\n rows between unbounded preceding\n and current row\n ) as liquidation_id\n from\n {{ ref('perp_account_liquidation_attempt_base_sepolia') }}\n),\n\ncumulative_rewards as (\n select\n block_timestamp,\n reward,\n full_liquidation,\n liquidation_id,\n CAST(\n account_id as text\n ) as account_id,\n SUM({{ convert_wei('reward') }}) over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp\n ) as cumulative_reward,\n ROW_NUMBER() over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp desc\n ) as rn\n from\n liquidation_events\n order by\n block_timestamp\n)\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\n 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),\n\ncumulative_rewards as (\n select\n block_timestamp,\n reward,\n full_liquidation,\n liquidation_id,\n CAST(\n account_id as text\n ) as account_id,\n SUM(\n reward / 1e18\n) over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp\n ) as cumulative_reward,\n ROW_NUMBER() over (\n partition by\n account_id,\n liquidation_id\n order by\n block_timestamp desc\n ) as rn\n from\n liquidation_events\n order by\n block_timestamp\n)\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": "e0dddc9c3d1612ac7a49953f1afa24dd4e60f5716ce5ae2d68fb49865e823c8b"}, "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": 1724945837.3539064, "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": "b2833373f5e4464d0bc5d314c2e45f2e7ccb1a3a6aefa7c67dbb1b16b9bc5881"}, "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": 1724945837.3587437, "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)\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)\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": "014b947cf39da22f1908dd4e2a360d9ced6f3ed8143c4834f9a11b52b6748b34"}, "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": 1724945837.3596547, "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)\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)\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": "403bfb84c005b0a483527f46a4d41335e69370e8d56da2786babcd3fbd3e620e"}, "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": 1724945837.3667717, "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),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n {{ ref('fct_perp_markets_base_sepolia') }}\n)\n\nselect\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size,\n CAST(\n l.account_id as text\n ) as account_id\nfrom\n liquidations as l\nleft join markets as 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),\n\nmarkets as (\n select\n id,\n market_symbol\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\"\n)\n\nselect\n l.id,\n l.ts,\n l.block_number,\n l.transaction_hash,\n l.market_id,\n m.market_symbol,\n l.amount_liquidated,\n l.position_size,\n CAST(\n l.account_id as text\n ) as account_id\nfrom\n liquidations as l\nleft join markets as 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": "4844eb5837a1c90bede6203be8cbed6357ac24c78f3d8fc401717d8fb5a6ddd3"}, "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": 1724945837.3614256, "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 as oc\n left join {{ ref('fct_perp_markets_base_sepolia') }} as markets\n on oc.market_id = markets.id\n)\n\nselect *\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 as oc\n left join \"analytics\".\"prod_base_sepolia\".\"fct_perp_markets_base_sepolia\" as markets\n on oc.market_id = markets.id\n)\n\nselect *\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": "f7846da94c55363b5d638e6321f0825120c28dc80b6e9feda3a1c9057f32e5e2"}, "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": 1724945837.3625104, "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)\n\nselect *\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)\n\nselect *\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": "b8b320ff9096ba7ee520cbd5c657d2329fb52fbf12c0f7067a7a865f4ba0656e"}, "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": 1724945837.6501164, "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 date_trunc(\n 'day',\n ts\n )\n) -- add cumulative amounts\n\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 date_trunc(\n 'day',\n ts\n )\n) -- add cumulative amounts\n\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": "337b16b56938f39efe4180a0ad49f879efdd8fda581e3cf5b310a7795e76eedc"}, "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": 1724945837.6514008, "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 date_trunc(\n 'hour',\n ts\n )\n) -- add cumulative amounts\n\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 date_trunc(\n 'hour',\n ts\n )\n) -- add cumulative amounts\n\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": "bf08e4586e48a4f74ac4bbc182e546c69e288b232c13d8402d5bcf67c9e9176d"}, "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": 1724945837.652764, "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": "ce6b4621ed0826e0d9305d8f1f92850c0ca0c4e43f706968d8a708e996df568d"}, "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": 1724945837.7312458, "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),\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)\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 as rd\ninner 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),\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)\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 as rd\ninner 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": "f06fcc104de52ba45b2409dc6bdc101aac5d77ce5097b6305c88fedadbbfeab9"}, "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": 1724945829.3617802, "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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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 t.pool_id,\n t.collateral_type,\n t.collateral_value,\n p.token_symbol as reward_token,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\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 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),\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)\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\nleft join reward_hourly_token\n on\n 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": "bdf515628316c9c9ab9d95a4eeb6f722a00e1bf1a02c228f656ef7a8250cff08"}, "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": 1724945837.7399688, "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)\n\nselect *\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)\n\nselect *\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": "87827c3d35fbc80991fc19074b892548dc0a23d41dec5595946f4253b441d144"}, "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": 1724945837.7420347, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_hourly_base_sepolia\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_issuance_base_sepolia') }}\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n {{ ref('fct_pool_issuance_base_sepolia') }}\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::interval\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n ) as t\n cross join (\n select distinct\n 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),\n\nmax_debt_block as (\n select\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as \"hour\",\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),\n\nfilt_issuance as (\n select\n i.pool_id,\n i.collateral_type,\n i.amount,\n case\n when\n 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 from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_issuance_base_sepolia\"\n as i\n left join max_debt_block as 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 ) as b\n from\n max_debt_block\n )\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 date_trunc(\n 'hour',\n ts\n ),\n pool_id,\n collateral_type\n)\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\nleft join issuance as i\n on\n 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": "9b5301d439c6fada9348b42cc6488bdd2399e366c77baec1b5628baedf702588"}, "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": 1724945837.743297, "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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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),\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)\n\nselect *\nfrom\n burns\nunion all\nselect *\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": "11b67c27c50b33cdc23db262a7f2a9c4326ae1a39a3eaaa7c3b92c4f5a663b98"}, "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": 1724945837.741065, "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": "4418bde9c1593c6d1ff9ff4b0a312bdbb890da0f35ffda948b2182bc6f6c078c"}, "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": 1724945837.7461874, "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)\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)\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": "6342cfd2d17c467ea5d4358b27091924438e3db471dae87cd91d0f9c9e85ad89"}, "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": 1724945837.7390049, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\n\ncumulative_delegation as (\n select\n block_timestamp,\n pool_id,\n collateral_type,\n SUM(change_in_amount) over (\n partition by\n pool_id,\n collateral_type\n order by\n block_timestamp\n ) as cumulative_amount_delegated\n from\n delegation_changes\n)\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": "fa58278b4462e0e2cd2f2053d2fbae1a2aeeccf74a6d0887fc199e7be249e82a"}, "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": 1724945829.3915303, "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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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),\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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n 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\n pool_id,\n collateral_type,\n reward_token\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_rewards_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.reward_token,\n pnl_hourly.collateral_value,\n pnl_hourly.rewards_usd,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "9694301ac9e0a65356a3dce3db2a7b01e9437db765c40d1dea10d27439095e65"}, "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": 1724945837.7477686, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_pool_rewards_token_hourly_base_sepolia\"", "raw_code": "with dim as (\n select\n m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n {{ ref('fct_prices_hourly_base_sepolia') }}\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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 m.pool_id,\n m.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) as t\n cross join (\n select distinct\n 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),\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),\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\n 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 as r\n on\n 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),\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\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"\n as p\n on\n d.ts = p.ts\n and d.token_symbol = p.market_symbol\n where\n d.distributor_index = 1\n)\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": "6ecdd7ab4906e4a8e6b411eee4e433a0d890352822eb9d5fc93c6ba2d7064533"}, "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": 1724945837.7371535, "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)\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)\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": "d736b4c3fe6bc6a552fe3d463a9d5952873dcdb999955ce99158e6964918c836"}, "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": 1724945837.7355783, "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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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\n pool_id,\n collateral_type\n order by\n ts\n ) as cumulative_issuance,\n SUM(\n hourly_pnl\n ) over (\n partition by\n 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),\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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n 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\n pool_id,\n collateral_type\n order by\n ts\n range between interval '28 DAYS' preceding\n and current row\n ) as avg_28d_total_pct\n from\n pnl_hourly\n),\n\napr_calculations as (\n select\n pnl_hourly.ts,\n pnl_hourly.pool_id,\n pnl_hourly.collateral_type,\n pnl_hourly.collateral_value,\n pnl_hourly.debt,\n pnl_hourly.hourly_pnl,\n pnl_hourly.cumulative_pnl,\n pnl_hourly.hourly_issuance,\n pnl_hourly.cumulative_issuance,\n pnl_hourly.rewards_usd,\n pnl_hourly.hourly_pnl_pct,\n pnl_hourly.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 inner join avg_returns\n on\n 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),\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)\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": "775c9271d227971f25c4986dd689aa2bfb291e1bc79488062861eab7f3a0b11d"}, "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": 1724945837.7323525, "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') }}\n - LAG({{ convert_wei('amount') }}, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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\n - LAG(\n amount / 1e18\n, 1, 0) over (\n partition by\n 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),\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\n 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\n pool_id,\n account_id,\n collateral_type\n order by\n block_timestamp desc\n ) as rn\n from\n delegation_changes\n)\n\nselect\n block_timestamp as ts,\n pool_id,\n collateral_type,\n cumulative_amount_delegated as amount_delegated,\n CAST(\n account_id as text\n ) as account_id\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": "10c738b1236a5e2ecebdd391ed0f81eeaea8257fd0f8fc4565c2bc3ac2022312"}, "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": 1724945837.7451935, "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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n {{ ref('fct_pool_debt_base_sepolia') }}\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n {{ ref('fct_pool_debt_base_sepolia') }}\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n {{ ref('core_vault_collateral_base_sepolia') }}\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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 select\n p.pool_id,\n p.collateral_type,\n generate_series(\n date_trunc('hour', min(t.ts)),\n date_trunc('hour', max(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) as t\n cross join (\n select distinct\n pool_id,\n collateral_type\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n ) as p\n group by\n p.pool_id,\n p.collateral_type\n),\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),\n\ndebt as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(debt) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as debt\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_pool_debt_base_sepolia\"\n),\n\ncollateral as (\n select distinct\n pool_id,\n collateral_type,\n date_trunc(\n 'hour',\n ts\n ) as ts,\n last_value(collateral_value) over (\n partition by date_trunc('hour', ts), pool_id, collateral_type\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as collateral_value\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"core_vault_collateral_base_sepolia\"\n where\n pool_id = 1\n),\n\nffill as (\n select\n dim.ts,\n dim.pool_id,\n dim.collateral_type,\n coalesce(\n last(debt) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as debt,\n coalesce(\n last(collateral_value) over (\n partition by dim.collateral_type, dim.pool_id\n order by dim.ts\n rows between unbounded preceding and current row\n ),\n 0\n ) as collateral_value\n from\n dim\n left join debt\n on\n 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\n dim.ts = collateral.ts\n and dim.pool_id = collateral.pool_id\n and dim.collateral_type = collateral.collateral_type\n),\n\nhourly_pnl as (\n select\n ts,\n pool_id,\n collateral_type,\n collateral_value,\n debt,\n coalesce(lag(debt) over (\n partition by pool_id, collateral_type\n order by\n ts\n ) - debt, 0) as hourly_pnl\n from\n ffill\n),\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),\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 ) as 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\n (coalesce(iss.hourly_issuance, 0) + pnl.hourly_pnl)\n / pnl.collateral_value\n end as hourly_pnl_pct,\n case\n when pnl.collateral_value = 0 then 0\n else\n (\n coalesce(rewards.rewards_usd, 0)\n + pnl.hourly_pnl\n + coalesce(iss.hourly_issuance, 0)\n )\n / pnl.collateral_value\n end as hourly_total_pct\n from\n hourly_pnl as pnl\n left join hourly_rewards as rewards\n on\n pnl.ts = rewards.ts\n and pnl.pool_id = rewards.pool_id\n and pnl.collateral_type = rewards.collateral_type\n left join issuance as iss\n on\n 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)\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": "b2c9bc4769cb342927218ace63d129f8b8af5b51ad8b92ca678659adecd1fde4"}, "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": 1724945837.7380009, "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,\n -{{ convert_wei('token_amount') }} as token_amount,\n collateral_type\n from\n {{ ref('core_withdrawn_base_sepolia') }}\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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 -\n token_amount / 1e18\n as token_amount,\n collateral_type\n from\n \"analytics\".\"prod_raw_base_sepolia\".\"core_withdrawn_base_sepolia\"\n),\n\nranked_events as (\n select\n *,\n SUM(token_amount) over (\n partition by collateral_type\n order by\n block_timestamp\n rows between unbounded preceding\n and current row\n ) as amount_deposited\n from\n events\n)\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": "7e076597d45419d994066971e26aa5b334ddea16f4c7dc7ff85dbdfee486d1dc"}, "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": 1724945838.0269487, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_daily_base_sepolia\"", "raw_code": "with hourly as (\n select\n keeper,\n settlement_rewards,\n amount_settled,\n trades,\n DATE_TRUNC(\n 'day',\n ts\n ) as ts\n from\n {{ ref('fct_perp_keeper_stats_hourly_base_sepolia') }}\n),\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 ts\n)\n\nselect\n hourly.ts,\n hourly.keeper,\n SUM(hourly.trades) as trades,\n SUM(hourly.settlement_rewards) as settlement_rewards,\n SUM(hourly.amount_settled) as amount_settled,\n SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,\n SUM(hourly.settlement_rewards)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(hourly.amount_settled)\n / MAX(total.amount_settled_total) as amount_settled_pct\nfrom\n hourly\ninner join total\n on hourly.ts = total.ts\ngroup by\n hourly.ts,\n hourly.keeper", "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 keeper,\n settlement_rewards,\n amount_settled,\n trades,\n DATE_TRUNC(\n 'day',\n ts\n ) as ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"\n),\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 ts\n)\n\nselect\n hourly.ts,\n hourly.keeper,\n SUM(hourly.trades) as trades,\n SUM(hourly.settlement_rewards) as settlement_rewards,\n SUM(hourly.amount_settled) as amount_settled,\n SUM(hourly.trades) / MAX(total.trades_total) as trades_pct,\n SUM(hourly.settlement_rewards)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(hourly.amount_settled)\n / MAX(total.amount_settled_total) as amount_settled_pct\nfrom\n hourly\ninner join total\n on hourly.ts = total.ts\ngroup by\n hourly.ts,\n hourly.keeper", "extra_ctes_injected": true, "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": "3add8e23fc581fc58a59cf3bf45a0edca4d23f61161851a78572b2ec555e88bc"}, "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": 1724945838.022792, "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 DATE_TRUNC(\n 'day',\n ts\n )", "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 DATE_TRUNC(\n 'day',\n ts\n )", "extra_ctes_injected": true, "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": "92282b7160b2bad66ac3b59ebc38fe5a2472428a3c6eaed2f4a8586c6a4f8d26"}, "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": 1724945838.0278862, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 as h\n left join inc_liq as l\n on\n h.ts = l.ts\n and h.account_id = l.account_id\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n account_id\n),\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 as h\n left join inc_liq as l\n on\n h.ts = l.ts\n and h.account_id = l.account_id\n)\n\nselect *\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": "5fcbdfb7d0906c95f434b9efe5a9978224d17d9dbc42f5993133ae4978d74efe"}, "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": 1724945838.023937, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n trades\n ) as t\n cross join (\n select distinct market_symbol\n from\n trades\n ) as m\n group by\n m.market_symbol\n),\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 as h\n on\n dim.ts = h.ts\n and dim.market_symbol = h.market_symbol\n left join inc_liq as l\n on\n dim.ts = l.ts\n and dim.market_symbol = l.market_symbol\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n market_symbol\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n trades\n ) as t\n cross join (\n select distinct market_symbol\n from\n trades\n ) as m\n group by\n m.market_symbol\n),\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 as h\n on\n dim.ts = h.ts\n and dim.market_symbol = h.market_symbol\n left join inc_liq as l\n on\n dim.ts = l.ts\n and dim.market_symbol = l.market_symbol\n)\n\nselect *\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": "7fb7a0ebaaa301869c6e15e258612d609f5d35a35fd561bd1731e5df7bb99c31"}, "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": 1724945838.0287988, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n account_id\n),\n\nstats as (\n select\n *,\n SUM(fees) over (\n partition by account_id\n order by\n ts\n 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\n range between unbounded preceding\n and current row\n ) as cumulative_volume\n from\n daily\n)\n\nselect *\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 DATE_TRUNC(\n 'day',\n ts\n ),\n account_id\n),\n\nstats as (\n select\n *,\n SUM(fees) over (\n partition by account_id\n order by\n ts\n 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\n range between unbounded preceding\n and current row\n ) as cumulative_volume\n from\n daily\n)\n\nselect *\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": "e5d44df9dabcfca4ea1c1b1d5e13af7a72502c945a717673973530da7bae1107"}, "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": 1724945838.0214462, "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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n )\n),\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 ts\n),\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 h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_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 from\n inc_trade as h\n left join inc_liq as l\n on h.ts = l.ts\n)\n\nselect *\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),\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),\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 DATE_TRUNC(\n 'hour',\n ts\n )\n),\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 ts\n),\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 h.cumulative_exchange_fees,\n h.cumulative_referral_fees,\n h.cumulative_collected_fees,\n h.cumulative_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 from\n inc_trade as h\n left join inc_liq as l\n on h.ts = l.ts\n)\n\nselect *\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": "5d17bf1e6116ac1a287c63f43f3f275b7a144c5b0a575e747c29edcc99e0a589"}, "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": 1724945838.025107, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "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 DATE_TRUNC(\n 'day',\n ts\n ),\n market_symbol", "extra_ctes_injected": true, "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": "e499742979570396efea81b62d134885fcf0bedaf6911542670c1e45397b778f"}, "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": 1724945838.0259995, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_perp_keeper_stats_hourly_base_sepolia\"", "raw_code": "with trades as (\n select\n settler,\n settlement_reward,\n notional_trade_size,\n 1 as trades,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts\n from\n {{ ref('fct_perp_trades_base_sepolia') }}\n),\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 ts\n)\n\nselect\n trades.ts,\n trades.settler as keeper,\n SUM(trades.trades) as trades,\n SUM(trades.settlement_reward) as settlement_rewards,\n SUM(trades.notional_trade_size) as amount_settled,\n SUM(trades.trades) / MAX(total.trades_total) as trades_pct,\n SUM(trades.settlement_reward)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(trades.notional_trade_size)\n / MAX(total.notional_trade_size_total) as amount_settled_pct\nfrom\n trades\ninner join total\n on trades.ts = total.ts\ngroup by\n trades.ts,\n trades.settler", "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 settler,\n settlement_reward,\n notional_trade_size,\n 1 as trades,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_perp_trades_base_sepolia\"\n),\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 ts\n)\n\nselect\n trades.ts,\n trades.settler as keeper,\n SUM(trades.trades) as trades,\n SUM(trades.settlement_reward) as settlement_rewards,\n SUM(trades.notional_trade_size) as amount_settled,\n SUM(trades.trades) / MAX(total.trades_total) as trades_pct,\n SUM(trades.settlement_reward)\n / MAX(total.settlement_reward_total) as settlement_rewards_pct,\n SUM(trades.notional_trade_size)\n / MAX(total.notional_trade_size_total) as amount_settled_pct\nfrom\n trades\ninner join total\n on trades.ts = total.ts\ngroup by\n trades.ts,\n trades.settler", "extra_ctes_injected": true, "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": "2c0961b44a3d2a9e2fbb85104a8e6b32b3eb659cdfa19c297a53942c9d52b2d6"}, "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": 1724945838.0202553, "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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'day',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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": "99aa9ff3df12bf043d03916f93a4693218772f8b92c37972a4368f78b2212802"}, "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": 1724945838.0190325, "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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 DATE_TRUNC(\n 'hour',\n ts\n ),\n tracking_code\n),\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 ts\n)\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\ninner join accounts\n on\n trades.ts = accounts.ts\n and trades.tracking_code = accounts.tracking_code\ninner 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": "2c453b2b3a884adb2d33cd782fb3d739001fced0cfb12a67a7b71812d07d4a35"}, "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": 1724945838.0300133, "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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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),\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),\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),\n\nall_changes as (\n select *\n from\n wrapper\n union all\n select *\n from\n atomics\n union all\n select *\n from\n usd_changes\n)\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": "b1ac7e31c93454580c7544485fd6a92802c1ab1858c2d0a9619f173e2fa2f0c9"}, "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": 1724945838.033573, "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),\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)\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),\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)\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": "05609c6378087d0d9070ba093624ea26375035e4e6e2b759f77d260ca6141328"}, "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": 1724945838.0314014, "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),\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)\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),\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)\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": "7a613a176ef00021b25caed0d3d313bfcedc1f3c1bc185b60461ca04d533a327"}, "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": 1724945838.0323467, "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)\n\nselect *\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)\n\nselect *\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": "7b776c618cb4aee7b798af1b861a9a9087e57466473453a019a1a06c1704fbee"}, "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": 1724945838.09461, "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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n {{ ref('base_sepolia_tokens') }}\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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),\n\ntokens as (\n select\n token_address,\n token_symbol\n from\n \"analytics\".\"prod_seeds\".\"base_sepolia_tokens\"\n)\n\nselect\n p.ts,\n p.market_address,\n p.price,\n COALESCE(\n t.token_symbol,\n p.market_symbol\n ) as market_symbol\nfrom\n all_prices as p\nleft join tokens as 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": "76e9e41584fab8c119d0476347174d4474c7884f786b1e2edd5ffeab09b95e3e"}, "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": 1724945838.0954933, "relation_name": "\"analytics\".\"prod_base_sepolia\".\"fct_prices_hourly_base_sepolia\"", "raw_code": "with prices as (\n select distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n {{ ref('fct_prices_base_sepolia') }}\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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 distinct\n market_symbol,\n DATE_TRUNC(\n 'hour',\n ts\n ) as ts,\n LAST_VALUE(price) over (\n partition by DATE_TRUNC('hour', ts), market_symbol\n order by\n ts\n rows between unbounded preceding\n and unbounded following\n ) as price\n from\n \"analytics\".\"prod_base_sepolia\".\"fct_prices_base_sepolia\"\n),\n\ndim as (\n select\n m.market_symbol,\n GENERATE_SERIES(\n DATE_TRUNC('hour', MIN(t.ts)),\n DATE_TRUNC('hour', MAX(t.ts)),\n '1 hour'::INTERVAL\n ) as ts\n from\n (\n select ts\n from\n prices\n ) as t\n cross join (\n select distinct market_symbol\n from\n prices\n ) as m\n group by\n m.market_symbol\n),\n\nffill as (\n select\n dim.ts,\n dim.market_symbol,\n LAST(prices.price) over (\n partition by dim.market_symbol\n order by dim.ts\n rows between unbounded preceding and current row\n ) as price\n from\n dim\n left join prices\n on\n dim.ts = prices.ts\n and dim.market_symbol = prices.market_symbol\n),\n\nhourly_prices as (\n select\n ts,\n market_symbol,\n price\n from\n ffill\n)\n\nselect *\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": 1724945829.6233582, "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": 1724945838.148772, "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": 1724945838.1479974, "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": 1724945838.1495116, "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": 1724945838.1472492, "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": 1724945838.1440344, "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": 1724945829.6369462, "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": 1724945838.1448228, "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": 1724945838.1455562, "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": 1724945838.1430726, "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_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": "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": {}, "created_at": 1724945830.3359063, "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": "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": {}, "created_at": 1724945830.3381014, "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": "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": {}, "created_at": 1724945830.3398242, "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": "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": {}, "created_at": 1724945830.4907458, "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": "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": {}, "created_at": 1724945830.4928112, "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": "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": {"alias": "dbt_utils_accepted_range_core__e62759940a69e060a2ee4d98660274e8"}, "created_at": 1724945830.494555, "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": "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": {}, "created_at": 1724945830.5038965, "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": "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": {}, "created_at": 1724945830.5056884, "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": "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": {}, "created_at": 1724945830.5073457, "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": "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": {}, "created_at": 1724945830.50902, "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": "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": {}, "created_at": 1724945830.510792, "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": "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": {}, "created_at": 1724945830.5124469, "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": "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": {"alias": "accepted_values_core_account_c_0f48537cd74cb798591ed4f9c612985c"}, "created_at": 1724945830.5141354, "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": "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": {}, "created_at": 1724945830.5231538, "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": "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": {}, "created_at": 1724945830.52491, "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": "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": {}, "created_at": 1724945830.526579, "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": "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": {"alias": "dbt_utils_accepted_range_core__e8596be14723c2504d1e35c74d629953"}, "created_at": 1724945830.5284054, "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": "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": {}, "created_at": 1724945830.533026, "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": "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": {}, "created_at": 1724945830.53488, "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": "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": {}, "created_at": 1724945830.536545, "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": "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": {}, "created_at": 1724945830.5382242, "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": "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": {}, "created_at": 1724945830.5398648, "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": "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": {}, "created_at": 1724945830.5415604, "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": "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": {}, "created_at": 1724945830.5439978, "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": "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": {}, "created_at": 1724945830.545674, "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": "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": {"alias": "dbt_utils_accepted_range_core__e78cd25c31d029d1b39b35fd267f9885"}, "created_at": 1724945830.5473237, "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": "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": {}, "created_at": 1724945830.5518143, "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": "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": {"alias": "dbt_utils_accepted_range_core__9da9ecf517a1cca467ef0aa90b794d23"}, "created_at": 1724945830.5535238, "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": "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": {}, "created_at": 1724945830.5580652, "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": "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": {}, "created_at": 1724945830.559773, "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": "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": {}, "created_at": 1724945830.5614612, "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": "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": {}, "created_at": 1724945830.5631194, "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": "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": {"alias": "dbt_utils_accepted_range_core__bb6ebbb6a6ce6d43f01be8ed59f2504d"}, "created_at": 1724945830.5650525, "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": "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": {}, "created_at": 1724945830.5697517, "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": "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": {}, "created_at": 1724945830.5716138, "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": "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": {"alias": "dbt_utils_accepted_range_core__bdc679a230626364ca0549f88b5432ea"}, "created_at": 1724945830.5733402, "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": "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": {}, "created_at": 1724945830.577901, "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": "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": {}, "created_at": 1724945830.5795758, "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": "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": {}, "created_at": 1724945830.5812547, "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": "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": {}, "created_at": 1724945830.5829046, "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": "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": {"alias": "dbt_utils_accepted_range_core__d133a92aff53649ad809d9856f6093bb"}, "created_at": 1724945830.584593, "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": "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": {}, "created_at": 1724945830.589704, "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": "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": {}, "created_at": 1724945830.5914798, "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": "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": {"alias": "dbt_utils_accepted_range_core__e27d22f3bc14a0c94336e4f54758e361"}, "created_at": 1724945830.5932486, "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": "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": {}, "created_at": 1724945830.5979288, "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": "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": {"alias": "accepted_values_core_delegatio_4394e6d3658f80520484c746bbda874b"}, "created_at": 1724945830.5996144, "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": "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": {}, "created_at": 1724945830.6044323, "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": "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": {}, "created_at": 1724945830.6061566, "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": "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": {}, "created_at": 1724945830.607975, "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": "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": {}, "created_at": 1724945830.6097572, "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": "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": {}, "created_at": 1724945830.6114056, "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": "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": {"alias": "accepted_values_core_deposited_d0c36d861e4f6802850a07c61cd63dac"}, "created_at": 1724945830.6131587, "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": "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": {}, "created_at": 1724945830.6188443, "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": "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": {}, "created_at": 1724945830.6205723, "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": "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": {"alias": "dbt_utils_accepted_range_core__ffb3ff84b8a74f473ae464c2a79b3009"}, "created_at": 1724945830.6223004, "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": "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": {}, "created_at": 1724945830.627052, "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": "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": {}, "created_at": 1724945830.6287408, "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": "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": {}, "created_at": 1724945830.6310954, "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": "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": {}, "created_at": 1724945830.6327598, "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": "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": {"alias": "dbt_utils_accepted_range_core__4a27e7f269078fd6d52dcbdc1f4cccaa"}, "created_at": 1724945830.634484, "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": "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": {}, "created_at": 1724945830.6389213, "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": "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": {}, "created_at": 1724945830.640582, "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": "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": {}, "created_at": 1724945830.6422448, "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": "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": {}, "created_at": 1724945830.6438584, "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": "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": {}, "created_at": 1724945830.645636, "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": "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": {"alias": "dbt_utils_accepted_range_core__142a88aa23e7aab522cfeb4e97f9dede"}, "created_at": 1724945830.6473393, "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": "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": {}, "created_at": 1724945830.6519437, "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": "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": {}, "created_at": 1724945830.6536427, "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": "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": {"alias": "dbt_utils_accepted_range_core__3ced14a391cf32c49396edfc10aeea56"}, "created_at": 1724945830.6553497, "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": "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": {}, "created_at": 1724945830.6599283, "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": "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": {}, "created_at": 1724945830.661621, "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": "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": {}, "created_at": 1724945830.6632602, "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": "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": {}, "created_at": 1724945830.6649404, "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": "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": {"alias": "accepted_values_core_withdrawn_061e5bf4357070ce9d2bb3c4fa4488f2"}, "created_at": 1724945830.6668093, "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": "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": {}, "created_at": 1724945830.6714005, "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": "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": {"alias": "dbt_utils_accepted_range_core__1863fd816f138e8a3f0169dc6031f846"}, "created_at": 1724945830.673274, "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": "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": {}, "created_at": 1724945830.6775272, "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": "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": {}, "created_at": 1724945830.6792378, "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": "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": {}, "created_at": 1724945830.6811843, "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": "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": {}, "created_at": 1724945830.6829615, "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": "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": {}, "created_at": 1724945830.6846862, "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": "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": {}, "created_at": 1724945830.6864207, "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": "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": {"alias": "accepted_values_core_liquidati_81995d17c81a92034aeec108b3c3ac2a"}, "created_at": 1724945830.6883175, "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": "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": {}, "created_at": 1724945830.693666, "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": "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": {}, "created_at": 1724945830.6955988, "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": "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": {}, "created_at": 1724945830.6973484, "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": "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": {"alias": "dbt_utils_accepted_range_core__a5076d6da76c2ebdad71369ab529d017"}, "created_at": 1724945830.6990552, "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": "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": {}, "created_at": 1724945830.703591, "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": "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": {}, "created_at": 1724945830.7053018, "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": "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": {"alias": "dbt_utils_accepted_range_core__64b2bd4201fb2e04ff0fdf39861a2977"}, "created_at": 1724945830.707045, "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": "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": {}, "created_at": 1724945830.711592, "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": "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": {}, "created_at": 1724945830.713353, "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": "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": {}, "created_at": 1724945830.7150474, "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": "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": {}, "created_at": 1724945830.71735, "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": "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": {}, "created_at": 1724945830.7189972, "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": "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": {}, "created_at": 1724945830.720658, "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": "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": {}, "created_at": 1724945830.72231, "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": "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": {"alias": "accepted_values_core_market_up_7ba076211cbbb640a048ec7634d09886"}, "created_at": 1724945830.7239864, "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": "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": {}, "created_at": 1724945830.7298489, "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": "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": {"alias": "dbt_utils_accepted_range_core__850d1d54cc44743490eead197c78549e"}, "created_at": 1724945830.7316968, "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": "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": {}, "created_at": 1724945830.7362688, "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": "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": {"alias": "not_null_core_market_updated_e_f4a48863c0b61b139248c098c824a58f"}, "created_at": 1724945830.7380724, "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": "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": {"alias": "dbt_utils_accepted_range_core__0e00d04e52857726685b46491eb3126f"}, "created_at": 1724945830.7399895, "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": "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": {}, "created_at": 1724945830.7444997, "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": "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": {}, "created_at": 1724945830.7464426, "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": "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": {}, "created_at": 1724945830.7481449, "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": "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": {}, "created_at": 1724945830.7498705, "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": "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": {"alias": "dbt_utils_accepted_range_core__dcb9f3d0eb710936590e4744a1dba9a1"}, "created_at": 1724945830.7515397, "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": "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": {}, "created_at": 1724945830.7562187, "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": "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": {}, "created_at": 1724945830.757954, "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": "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": {}, "created_at": 1724945830.7596078, "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": "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": {}, "created_at": 1724945830.7614055, "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": "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": {}, "created_at": 1724945830.763064, "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": "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": {}, "created_at": 1724945830.7648866, "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": "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": {}, "created_at": 1724945830.766652, "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": "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": {}, "created_at": 1724945830.7683096, "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": "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": {}, "created_at": 1724945830.7701411, "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": "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": {}, "created_at": 1724945830.7717924, "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": "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": {"alias": "accepted_values_core_market_re_2dfb6bc88e97780111c93264c2a9579e"}, "created_at": 1724945830.7735853, "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": "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": {}, "created_at": 1724945830.7791505, "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": "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": {}, "created_at": 1724945830.7810798, "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": "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": {}, "created_at": 1724945830.7828374, "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": "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": {}, "created_at": 1724945830.7847173, "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": "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": {}, "created_at": 1724945830.786409, "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": "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": {}, "created_at": 1724945830.7880666, "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": "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": {}, "created_at": 1724945830.7897434, "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": "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": {}, "created_at": 1724945830.7913964, "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": "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": {}, "created_at": 1724945830.7931416, "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": "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": {"alias": "accepted_values_core_pool_crea_46b6678307559277d42bf31c285cce68"}, "created_at": 1724945830.794785, "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": "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": {}, "created_at": 1724945830.7998328, "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": "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": {}, "created_at": 1724945830.801521, "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": "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": {"alias": "dbt_utils_accepted_range_core__55547c93691aab2c68f12ab54bd8eeb6"}, "created_at": 1724945830.8031838, "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": "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": {}, "created_at": 1724945830.8084292, "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": "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": {}, "created_at": 1724945830.8101776, "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": "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": {"alias": "dbt_utils_accepted_range_core__ab3340df585e5d39571d087ca7bda546"}, "created_at": 1724945830.8118968, "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": "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": {}, "created_at": 1724945830.8164802, "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": "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": {}, "created_at": 1724945830.8181765, "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": "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": {"alias": "accepted_values_core_rewards_c_3400470aa0b3513778ddaae1366c24b7"}, "created_at": 1724945830.8198373, "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": "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": {}, "created_at": 1724945830.8246536, "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": "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": {}, "created_at": 1724945830.8264678, "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": "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": {"alias": "dbt_utils_accepted_range_core__2334d836541a83e1bf5131c9f2ebcf12"}, "created_at": 1724945830.8281562, "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": "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": {}, "created_at": 1724945830.832968, "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": "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": {}, "created_at": 1724945830.8347073, "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": "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": {}, "created_at": 1724945830.836605, "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": "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": {}, "created_at": 1724945830.8383286, "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": "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": {}, "created_at": 1724945830.8400044, "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": "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": {"alias": "dbt_utils_accepted_range_core__b5c763d35850d0285215e75d16281f41"}, "created_at": 1724945830.841704, "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": "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": {}, "created_at": 1724945830.8464482, "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": "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": {}, "created_at": 1724945830.8481512, "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": "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": {}, "created_at": 1724945830.8498173, "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": "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": {}, "created_at": 1724945830.8515935, "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": "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": {"alias": "accepted_values_core_rewards_d_422012a5b2e64aa65e3be081b505e9bb"}, "created_at": 1724945830.853315, "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": "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": {}, "created_at": 1724945830.858409, "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": "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": {"alias": "dbt_utils_accepted_range_core__157d6b4dbbb0fac88dba100ee1b9cfd9"}, "created_at": 1724945830.860089, "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": "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": {}, "created_at": 1724945830.8643641, "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": "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": {}, "created_at": 1724945830.8662896, "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": "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": {}, "created_at": 1724945830.8679657, "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": "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": {}, "created_at": 1724945830.8696656, "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": "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": {}, "created_at": 1724945830.8713243, "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": "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": {}, "created_at": 1724945830.8731582, "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": "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": {"alias": "dbt_utils_accepted_range_core__64fe8859043095bb79f806a2fc2e3ad0"}, "created_at": 1724945830.8748162, "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": "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": {}, "created_at": 1724945830.8796277, "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": "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": {}, "created_at": 1724945830.8813622, "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": "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": {"alias": "dbt_utils_accepted_range_core__87da3698c05a0c2dec1c49bbf2c2dc1a"}, "created_at": 1724945830.883064, "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": "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": {}, "created_at": 1724945830.8875341, "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": "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": {"alias": "dbt_utils_accepted_range_core__6b66c2ba0887795645e99b88deb4f1ea"}, "created_at": 1724945830.8892298, "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": "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": {}, "created_at": 1724945830.89438, "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": "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": {"alias": "dbt_utils_accepted_range_core__ed349b171986df3283564b0b5bc71aea"}, "created_at": 1724945830.896293, "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": "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": {}, "created_at": 1724945830.9011745, "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": "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": {"alias": "accepted_values_core_usd_burne_d199b1326f4abeafe146163d7e82cac2"}, "created_at": 1724945830.9035766, "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": "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": {}, "created_at": 1724945830.9087608, "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": "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": {}, "created_at": 1724945830.9104695, "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": "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": {}, "created_at": 1724945830.9121, "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": "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": {}, "created_at": 1724945830.913772, "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": "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": {"alias": "dbt_utils_accepted_range_core__a490407e83132725bbc6fc0001adefe6"}, "created_at": 1724945830.915425, "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": "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": {}, "created_at": 1724945830.920453, "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": "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": {}, "created_at": 1724945830.9222414, "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": "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": {}, "created_at": 1724945830.9238997, "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": "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": {}, "created_at": 1724945830.9257734, "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": "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": {}, "created_at": 1724945830.9274411, "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": "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": {}, "created_at": 1724945830.9291437, "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": "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": {"alias": "dbt_utils_accepted_range_core__f44247063799070cde0de14f062cb55c"}, "created_at": 1724945830.9308126, "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": "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": {}, "created_at": 1724945830.9354074, "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": "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": {}, "created_at": 1724945830.937125, "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": "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": {"alias": "dbt_utils_accepted_range_core__4933a15ad47f5808b128f72fc5a2f764"}, "created_at": 1724945830.9388053, "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": "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": {}, "created_at": 1724945830.9431858, "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": "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": {}, "created_at": 1724945830.9448705, "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": "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": {}, "created_at": 1724945830.9466605, "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": "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": {}, "created_at": 1724945830.9482958, "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": "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": {}, "created_at": 1724945830.9499583, "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": "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": {}, "created_at": 1724945830.9515874, "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": "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": {"alias": "dbt_utils_accepted_range_core__fe48a8a9210850d9b04cdea08008e5c6"}, "created_at": 1724945830.953256, "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": "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": {}, "created_at": 1724945830.957768, "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": "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": {"alias": "accepted_values_core_usd_minte_1cdd80f9a41233e7e9492176e8e94f66"}, "created_at": 1724945830.959469, "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": "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": {}, "created_at": 1724945830.964216, "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": "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": {}, "created_at": 1724945830.9659023, "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": "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": {}, "created_at": 1724945830.9675627, "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": "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": {}, "created_at": 1724945830.9693766, "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": "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": {}, "created_at": 1724945830.9710286, "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": "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": {"alias": "dbt_utils_accepted_range_core__c5fcdbeaa3e1d24749794a9960190a70"}, "created_at": 1724945830.9726825, "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": "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": {}, "created_at": 1724945830.97703, "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": "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": {"alias": "accepted_values_core_vault_liq_4acb6756b2875f23c737e6e121320177"}, "created_at": 1724945830.9786832, "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": "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": {}, "created_at": 1724945830.9838169, "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": "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": {}, "created_at": 1724945830.9854689, "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": "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": {}, "created_at": 1724945830.9870782, "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": "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": {"alias": "not_null_core_vault_liquidatio_4be498920f5476d4fbe5b11196fb1973"}, "created_at": 1724945830.988722, "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": "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": {"alias": "dbt_utils_accepted_range_core__9decc85dc8999bd440933d85c2c93145"}, "created_at": 1724945830.99046, "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": "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": {}, "created_at": 1724945830.9947047, "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": "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": {}, "created_at": 1724945830.9965303, "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": "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": {}, "created_at": 1724945830.9982011, "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": "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": {}, "created_at": 1724945830.9998434, "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": "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": {}, "created_at": 1724945831.0015776, "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": "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": {}, "created_at": 1724945831.0032148, "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": "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": {}, "created_at": 1724945831.0049622, "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": "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": {"alias": "dbt_utils_accepted_range_core__28e82948dc6ab678ad812a53741a8b45"}, "created_at": 1724945831.00664, "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": "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": {}, "created_at": 1724945831.0110438, "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": "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": {}, "created_at": 1724945831.012738, "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": "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": {"alias": "dbt_utils_accepted_range_core__fecc8306cd07aafea6c325ce7fc34ce1"}, "created_at": 1724945831.0143976, "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": "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": {}, "created_at": 1724945831.0187347, "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": "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": {"alias": "dbt_utils_accepted_range_core__5e1ce99b75b0a3f820babda67941da0a"}, "created_at": 1724945831.020384, "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": "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": {}, "created_at": 1724945831.0248015, "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": "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": {}, "created_at": 1724945831.026494, "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": "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": {}, "created_at": 1724945831.0281312, "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": "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": {}, "created_at": 1724945831.0297742, "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": "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": {"alias": "dbt_utils_accepted_range_core__9f11a2c2f57a755a3f6b1e0ffeaa9b87"}, "created_at": 1724945831.0314023, "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": "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": {}, "created_at": 1724945831.0356877, "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": "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": {}, "created_at": 1724945831.0373902, "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": "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": {}, "created_at": 1724945831.0391479, "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": "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": {}, "created_at": 1724945831.0421796, "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": "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": {}, "created_at": 1724945831.043892, "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": "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": {}, "created_at": 1724945831.045603, "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": "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": {}, "created_at": 1724945831.077773, "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": "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": {}, "created_at": 1724945831.079586, "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": "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": {"alias": "dbt_utils_accepted_range_core__ce84723b0f0bb7e19e3c1cf75ab01e65"}, "created_at": 1724945831.0812693, "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": "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": {}, "created_at": 1724945831.0857728, "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": "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": {}, "created_at": 1724945831.087425, "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": "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": {}, "created_at": 1724945831.0890899, "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": "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": {}, "created_at": 1724945831.090881, "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": "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": {}, "created_at": 1724945831.092495, "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": "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": {}, "created_at": 1724945831.0941634, "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": "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": {"alias": "accepted_values_core_account_c_f0b5cfe645ca98dd83a548881dbb231f"}, "created_at": 1724945831.0958245, "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": "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": {}, "created_at": 1724945831.1002924, "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": "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": {}, "created_at": 1724945831.1019876, "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": "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": {}, "created_at": 1724945831.1036215, "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": "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": {}, "created_at": 1724945831.1054175, "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": "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": {}, "created_at": 1724945831.107063, "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": "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": {"alias": "dbt_utils_accepted_range_core__abf56ab13d78830abe56ceb90e3fe727"}, "created_at": 1724945831.1087613, "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": "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": {"alias": "not_null_core_delegation_updat_ff6c4be455bb5a689b64cffbd9b8359e"}, "created_at": 1724945831.11321, "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": "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": {}, "created_at": 1724945831.1148677, "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": "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": {"alias": "dbt_utils_accepted_range_core__dc6042ca5fc188d63643b43860ffe978"}, "created_at": 1724945831.1165454, "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": "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": {}, "created_at": 1724945831.1210153, "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": "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": {"alias": "not_null_core_delegation_updat_25d626a6081121e32d064cc583bcb245"}, "created_at": 1724945831.1226811, "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": "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": {}, "created_at": 1724945831.1243012, "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": "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": {}, "created_at": 1724945831.1261108, "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": "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": {"alias": "dbt_utils_accepted_range_core__74d4af353caf502d0233666f263aab05"}, "created_at": 1724945831.1278908, "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": "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": {"alias": "not_null_core_delegation_updat_6ac250e2c9a952d186fe70b880fd912c"}, "created_at": 1724945831.1324127, "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": "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": {}, "created_at": 1724945831.1343737, "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": "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": {"alias": "dbt_utils_accepted_range_core__61e561255e4147ac717892c2ffac2552"}, "created_at": 1724945831.136041, "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": "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": {}, "created_at": 1724945831.1405048, "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": "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": {"alias": "accepted_values_core_delegatio_10d8d15fae821bb25ad7292f00624ac0"}, "created_at": 1724945831.1422105, "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": "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": {}, "created_at": 1724945831.1465845, "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": "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": {}, "created_at": 1724945831.1482472, "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": "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": {}, "created_at": 1724945831.1499171, "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": "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": {}, "created_at": 1724945831.1515539, "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": "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": {}, "created_at": 1724945831.1532276, "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": "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": {"alias": "accepted_values_core_deposited_366c4a08a18bac7687c18ce14ec3027d"}, "created_at": 1724945831.1556528, "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": "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": {}, "created_at": 1724945831.1599796, "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": "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": {}, "created_at": 1724945831.1618242, "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": "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": {"alias": "dbt_utils_accepted_range_core__a5ecd22e7bdfeb1b3599bfacd78a5738"}, "created_at": 1724945831.163459, "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": "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": {}, "created_at": 1724945831.1676655, "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": "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": {}, "created_at": 1724945831.1695356, "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": "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": {}, "created_at": 1724945831.171257, "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": "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": {}, "created_at": 1724945831.1729162, "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": "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": {"alias": "dbt_utils_accepted_range_core__3324e55773a095cfea7b176bf7917ebd"}, "created_at": 1724945831.1745493, "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": "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": {}, "created_at": 1724945831.1791277, "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": "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": {}, "created_at": 1724945831.1808796, "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": "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": {}, "created_at": 1724945831.1826148, "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": "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": {}, "created_at": 1724945831.1845536, "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": "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": {}, "created_at": 1724945831.1863258, "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": "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": {"alias": "dbt_utils_accepted_range_core__1b9682952c91a5545e16c1bfbe752818"}, "created_at": 1724945831.1880264, "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": "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": {}, "created_at": 1724945831.1929057, "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": "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": {}, "created_at": 1724945831.194578, "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": "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": {"alias": "dbt_utils_accepted_range_core__4373ee0fef9904d117ac68961177311c"}, "created_at": 1724945831.196232, "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": "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": {}, "created_at": 1724945831.200755, "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": "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": {}, "created_at": 1724945831.2024105, "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": "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": {}, "created_at": 1724945831.2040367, "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": "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": {}, "created_at": 1724945831.2058206, "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": "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": {"alias": "accepted_values_core_withdrawn_0269f17bd6215ef29080cc4cb1c56b34"}, "created_at": 1724945831.207492, "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": "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": {}, "created_at": 1724945831.2118938, "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": "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": {"alias": "dbt_utils_accepted_range_core__3b7574a4994fd13124cd20e62aa94fc0"}, "created_at": 1724945831.2137866, "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": "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": {}, "created_at": 1724945831.2180762, "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": "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": {}, "created_at": 1724945831.2199063, "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": "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": {}, "created_at": 1724945831.221574, "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": "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": {}, "created_at": 1724945831.2231865, "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": "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": {}, "created_at": 1724945831.224846, "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": "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": {}, "created_at": 1724945831.2264988, "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": "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": {"alias": "accepted_values_core_liquidati_4442c34ed542a292a0634c15edf28899"}, "created_at": 1724945831.2282465, "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": "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": {}, "created_at": 1724945831.2326255, "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": "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": {}, "created_at": 1724945831.2344718, "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": "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": {}, "created_at": 1724945831.2361295, "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": "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": {"alias": "dbt_utils_accepted_range_core__d573daafd2d94573fc34ea75105093f1"}, "created_at": 1724945831.2378435, "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": "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": {}, "created_at": 1724945831.2427227, "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": "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": {"alias": "not_null_core_liquidation_arbi_92f55229ca201ad07fd249fb04e9775d"}, "created_at": 1724945831.2444103, "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": "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": {"alias": "dbt_utils_accepted_range_core__95f20c9d730453e2564fdd995e9c0737"}, "created_at": 1724945831.2461634, "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": "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": {}, "created_at": 1724945831.2508445, "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": "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": {}, "created_at": 1724945831.2524931, "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": "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": {}, "created_at": 1724945831.254158, "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": "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": {}, "created_at": 1724945831.2559116, "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": "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": {}, "created_at": 1724945831.2575626, "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": "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": {}, "created_at": 1724945831.2591681, "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": "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": {}, "created_at": 1724945831.2608042, "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": "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": {"alias": "accepted_values_core_market_up_1d0210873bb72c6c6b77ae8c79ff0d1f"}, "created_at": 1724945831.2626207, "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": "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": {}, "created_at": 1724945831.2673905, "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": "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": {"alias": "dbt_utils_accepted_range_core__02a955166e22231ca285723dacdb2832"}, "created_at": 1724945831.269115, "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": "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": {}, "created_at": 1724945831.2738645, "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": "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": {"alias": "not_null_core_market_updated_a_c8d66a6213d38496ae35d373291887d5"}, "created_at": 1724945831.2756531, "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": "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": {"alias": "dbt_utils_accepted_range_core__cdcb72975596908844844e1e35f50f8c"}, "created_at": 1724945831.2774134, "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": "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": {}, "created_at": 1724945831.2822711, "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": "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": {}, "created_at": 1724945831.2839496, "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": "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": {}, "created_at": 1724945831.2856338, "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": "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": {}, "created_at": 1724945831.2874196, "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": "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": {"alias": "dbt_utils_accepted_range_core__7483e902594aee8b4bcbb6849e0f0993"}, "created_at": 1724945831.2890882, "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": "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": {}, "created_at": 1724945831.2936242, "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": "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": {}, "created_at": 1724945831.2952743, "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": "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": {}, "created_at": 1724945831.2969265, "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": "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": {}, "created_at": 1724945831.2985396, "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": "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": {}, "created_at": 1724945831.3001387, "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": "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": {"alias": "not_null_core_market_registere_3aa714f691befa9329876e1321ce4907"}, "created_at": 1724945831.3018935, "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": "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": {}, "created_at": 1724945831.3035204, "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": "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": {"alias": "not_null_core_market_registere_ce97e23941cfcece9eb1a8b9bdf4cb64"}, "created_at": 1724945831.305172, "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": "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": {}, "created_at": 1724945831.3067935, "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": "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": {}, "created_at": 1724945831.3084574, "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": "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": {"alias": "accepted_values_core_market_re_e286af90b0ff8870e4f1f6cc2f332f5e"}, "created_at": 1724945831.3103056, "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": "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": {}, "created_at": 1724945831.3149805, "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": "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": {}, "created_at": 1724945831.3168812, "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": "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": {}, "created_at": 1724945831.3185368, "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": "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": {}, "created_at": 1724945831.3201642, "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": "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": {}, "created_at": 1724945831.321846, "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": "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": {}, "created_at": 1724945831.3234825, "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": "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": {}, "created_at": 1724945831.3252666, "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": "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": {}, "created_at": 1724945831.3269188, "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": "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": {}, "created_at": 1724945831.328541, "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": "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": {"alias": "accepted_values_core_pool_crea_0ebc185f8081387dd6790ea39fa08892"}, "created_at": 1724945831.3302655, "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": "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": {}, "created_at": 1724945831.3355207, "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": "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": {}, "created_at": 1724945831.3373108, "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": "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": {"alias": "dbt_utils_accepted_range_core__a4fd93112bb463c7536d0249bba13868"}, "created_at": 1724945831.3391497, "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": "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": {}, "created_at": 1724945831.3440866, "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": "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": {}, "created_at": 1724945831.3458753, "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": "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": {"alias": "dbt_utils_accepted_range_core__a017d5223b610b9f7423d02fd237a61e"}, "created_at": 1724945831.347695, "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": "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": {}, "created_at": 1724945831.3520536, "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": "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": {}, "created_at": 1724945831.3537962, "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": "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": {"alias": "accepted_values_core_rewards_c_ae0e5101dec8d345cd75f3d5717a9de2"}, "created_at": 1724945831.355744, "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": "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": {}, "created_at": 1724945831.3603342, "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": "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": {}, "created_at": 1724945831.3622367, "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": "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": {"alias": "dbt_utils_accepted_range_core__c0dd3bdf5507ce87c72c955b444272c7"}, "created_at": 1724945831.363932, "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": "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": {}, "created_at": 1724945831.3685741, "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": "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": {}, "created_at": 1724945831.3705578, "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": "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": {}, "created_at": 1724945831.3722813, "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": "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": {}, "created_at": 1724945831.3739965, "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": "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": {}, "created_at": 1724945831.375659, "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": "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": {"alias": "dbt_utils_accepted_range_core__08848a564c54b05c2cb6e82b66d83e50"}, "created_at": 1724945831.377427, "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": "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": {}, "created_at": 1724945831.381795, "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": "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": {}, "created_at": 1724945831.3836524, "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": "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": {}, "created_at": 1724945831.3853316, "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": "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": {}, "created_at": 1724945831.3869684, "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": "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": {"alias": "accepted_values_core_rewards_d_d7316b4d554f3dda3a2963d18779fd27"}, "created_at": 1724945831.3885996, "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": "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": {}, "created_at": 1724945831.3929946, "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": "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": {"alias": "dbt_utils_accepted_range_core__7b28a3ed9d8c19140e6eb1d7ed751b7a"}, "created_at": 1724945831.394667, "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": "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": {}, "created_at": 1724945831.3990877, "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": "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": {"alias": "not_null_core_rewards_distribu_0615a0b17ded5d162f692f079ef20621"}, "created_at": 1724945831.400774, "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": "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": {"alias": "not_null_core_rewards_distribu_b9de231940d6a64359b041a045f6df44"}, "created_at": 1724945831.4024198, "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": "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": {"alias": "not_null_core_rewards_distribu_0c83e6d18c229c54ea7814f211652fba"}, "created_at": 1724945831.4040525, "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": "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": {}, "created_at": 1724945831.405815, "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": "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": {}, "created_at": 1724945831.4074595, "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": "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": {"alias": "dbt_utils_accepted_range_core__1df6834a594836c2dcc71fe060c468ad"}, "created_at": 1724945831.4091136, "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": "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": {}, "created_at": 1724945831.4135163, "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": "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": {}, "created_at": 1724945831.4151676, "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": "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": {"alias": "dbt_utils_accepted_range_core__8f5972b03f3e35993a0d31e0f5be9dab"}, "created_at": 1724945831.4168322, "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": "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": {}, "created_at": 1724945831.4217274, "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": "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": {"alias": "dbt_utils_accepted_range_core__53d099c4a50eba60cd9dbb7bdf1dea70"}, "created_at": 1724945831.42338, "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": "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": {}, "created_at": 1724945831.4278414, "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": "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": {"alias": "dbt_utils_accepted_range_core__a4d9b1f66ba6ee616c7a435ebac2f092"}, "created_at": 1724945831.4296188, "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": "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": {}, "created_at": 1724945831.4349217, "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": "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": {"alias": "accepted_values_core_usd_burne_f1001c8fa3982fe799c897828b0b2c8e"}, "created_at": 1724945831.4368246, "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": "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": {}, "created_at": 1724945831.4415324, "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": "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": {}, "created_at": 1724945831.443332, "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": "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": {}, "created_at": 1724945831.4450407, "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": "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": {}, "created_at": 1724945831.4466949, "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": "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": {"alias": "dbt_utils_accepted_range_core__c9d0905ae7ab5806ca28ed36a31d845e"}, "created_at": 1724945831.4484615, "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": "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": {}, "created_at": 1724945831.4528234, "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": "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": {}, "created_at": 1724945831.4546616, "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": "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": {}, "created_at": 1724945831.4563198, "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": "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": {}, "created_at": 1724945831.4580138, "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": "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": {}, "created_at": 1724945831.4596572, "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": "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": {}, "created_at": 1724945831.4613948, "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": "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": {"alias": "dbt_utils_accepted_range_core__e2fdd34efe9357cbe68cce2a4f447e0b"}, "created_at": 1724945831.4632404, "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": "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": {}, "created_at": 1724945831.4680388, "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": "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": {}, "created_at": 1724945831.4699852, "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": "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": {"alias": "dbt_utils_accepted_range_core__e8c505f36fc50f5a863c74c16d675fd6"}, "created_at": 1724945831.4716935, "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": "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": {}, "created_at": 1724945831.4761262, "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": "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": {}, "created_at": 1724945831.4779592, "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": "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": {}, "created_at": 1724945831.4796438, "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": "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": {}, "created_at": 1724945831.481303, "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": "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": {}, "created_at": 1724945831.482923, "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": "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": {}, "created_at": 1724945831.4846563, "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": "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": {"alias": "dbt_utils_accepted_range_core__4f96c27108a58faefb0cfa1c6e2f1740"}, "created_at": 1724945831.4863539, "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": "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": {}, "created_at": 1724945831.4908276, "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": "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": {"alias": "accepted_values_core_usd_minte_bb8849e7a8bb986a942b463f36bae946"}, "created_at": 1724945831.4928036, "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": "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": {}, "created_at": 1724945831.4971762, "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": "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": {}, "created_at": 1724945831.4990163, "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": "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": {"alias": "not_null_core_vault_liquidatio_2185e560e310ac8c9b339ed46c9526c9"}, "created_at": 1724945831.5006754, "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": "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": {"alias": "not_null_core_vault_liquidatio_28327b33172f7d5299eb84c369c67082"}, "created_at": 1724945831.5022755, "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": "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": {}, "created_at": 1724945831.5038822, "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": "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": {"alias": "dbt_utils_accepted_range_core__f63d5e5a5e522a8c30ea4c8b615e3e5e"}, "created_at": 1724945831.5055385, "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": "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": {}, "created_at": 1724945831.5102823, "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": "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": {"alias": "accepted_values_core_vault_liq_6095cf2bff19baee5a4998828dc70324"}, "created_at": 1724945831.5119884, "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": "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": {}, "created_at": 1724945831.5164766, "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": "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": {}, "created_at": 1724945831.5181797, "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": "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": {"alias": "not_null_core_vault_liquidatio_edbeff2a9e391e647da0aed49fa55c31"}, "created_at": 1724945831.5198367, "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": "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": {"alias": "not_null_core_vault_liquidatio_ed674d5ff714efc416d714e69fc94711"}, "created_at": 1724945831.5216715, "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": "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": {"alias": "dbt_utils_accepted_range_core__c5b65935367ae54ff2e891d5bdcb69d2"}, "created_at": 1724945831.523357, "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": "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": {"alias": "not_null_core_vault_liquidatio_2415782e836c6b669ea8436e64c0849d"}, "created_at": 1724945831.528519, "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": "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": {}, "created_at": 1724945831.5303512, "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": "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": {}, "created_at": 1724945831.5321019, "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": "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": {}, "created_at": 1724945831.5338647, "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": "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": {}, "created_at": 1724945831.535562, "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": "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": {}, "created_at": 1724945831.537414, "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": "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": {}, "created_at": 1724945831.5390618, "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": "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": {"alias": "dbt_utils_accepted_range_core__6ff23194f832443df6b21fe69436430c"}, "created_at": 1724945831.5407295, "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": "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": {}, "created_at": 1724945831.5454545, "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": "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": {}, "created_at": 1724945831.5471191, "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": "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": {"alias": "dbt_utils_accepted_range_core__c4067ecbb847c7045c7afebdb68d1a02"}, "created_at": 1724945831.5487976, "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": "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": {"alias": "not_null_core_vault_collateral_cf213cb7e0e55ec70bd0cbcc38c21022"}, "created_at": 1724945831.553329, "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": "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": {"alias": "dbt_utils_accepted_range_core__b2b477e0fac69864d383c1ff941e78c9"}, "created_at": 1724945831.5550222, "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": "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": {"alias": "not_null_core_vault_collateral_4d64c8eaa01fe95c5b02ce8af6762f6e"}, "created_at": 1724945831.5599136, "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": "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": {}, "created_at": 1724945831.56174, "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": "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": {}, "created_at": 1724945831.563452, "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": "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": {}, "created_at": 1724945831.5651844, "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": "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": {"alias": "dbt_utils_accepted_range_core__c4e1955a9097cfc0472cb79eca9a6dc0"}, "created_at": 1724945831.567012, "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": "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": {}, "created_at": 1724945831.5714087, "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": "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": {}, "created_at": 1724945831.5732467, "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": "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": {}, "created_at": 1724945831.5748909, "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": "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": {}, "created_at": 1724945831.5980685, "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": "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": {}, "created_at": 1724945831.5998907, "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": "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": {}, "created_at": 1724945831.601643, "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": "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": {"alias": "accepted_values_spot_order_com_612c7255a7f36043bcb4a7cdb76a0e20"}, "created_at": 1724945831.603345, "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": "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": {}, "created_at": 1724945831.6081975, "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": "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": {}, "created_at": 1724945831.6099188, "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": "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": {}, "created_at": 1724945831.6116984, "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": "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": {}, "created_at": 1724945831.6133654, "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": "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": {"alias": "dbt_utils_accepted_range_spot__9a56f742862e6cc8ba800f049871410a"}, "created_at": 1724945831.6150172, "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": "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": {}, "created_at": 1724945831.6198173, "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": "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": {}, "created_at": 1724945831.6215537, "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": "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": {}, "created_at": 1724945831.623183, "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": "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": {"alias": "dbt_utils_accepted_range_spot__5645de8902a4439c1821035cd269d4c3"}, "created_at": 1724945831.6248379, "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": "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": {}, "created_at": 1724945831.6293242, "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": "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": {}, "created_at": 1724945831.6310112, "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": "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": {"alias": "dbt_utils_accepted_range_spot__53c639690d3f6db86ed3a99de0616038"}, "created_at": 1724945831.6326954, "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": "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": {}, "created_at": 1724945831.637173, "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": "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": {}, "created_at": 1724945831.6388707, "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": "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": {}, "created_at": 1724945831.6406808, "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": "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": {}, "created_at": 1724945831.6423254, "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": "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": {}, "created_at": 1724945831.6439571, "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": "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": {}, "created_at": 1724945831.6456087, "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": "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": {}, "created_at": 1724945831.6472447, "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": "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": {}, "created_at": 1724945831.6489792, "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": "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": {}, "created_at": 1724945831.6506417, "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": "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": {"alias": "dbt_utils_accepted_range_spot__a35b7176e9f72d0481ad6d735e7bb103"}, "created_at": 1724945831.652375, "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": "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": {}, "created_at": 1724945831.657355, "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": "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": {"alias": "dbt_utils_accepted_range_spot__9e6f9cd3db0f82b8764ba445759e8445"}, "created_at": 1724945831.659037, "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": "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": {}, "created_at": 1724945831.6634805, "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": "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": {"alias": "dbt_utils_accepted_range_spot__5d972fc4f292296beb2cb5f34a47fa6e"}, "created_at": 1724945831.6651905, "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": "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": {}, "created_at": 1724945831.6696274, "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": "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": {"alias": "accepted_values_spot_order_set_d3b65b75a55fbc94523af798a74f0d8d"}, "created_at": 1724945831.6713254, "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": "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": {}, "created_at": 1724945831.676133, "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": "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": {}, "created_at": 1724945831.677821, "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": "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": {}, "created_at": 1724945831.679512, "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": "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": {}, "created_at": 1724945831.6812696, "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": "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": {}, "created_at": 1724945831.683861, "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": "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": {}, "created_at": 1724945831.6855204, "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": "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": {}, "created_at": 1724945831.687171, "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": "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": {"alias": "accepted_values_spot_order_can_8958c622ce842464f22572f8ca643dd9"}, "created_at": 1724945831.6888537, "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": "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": {}, "created_at": 1724945831.6937864, "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": "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": {"alias": "dbt_utils_accepted_range_spot__51adb6d95dfdf12f2a6f8c433c71ec70"}, "created_at": 1724945831.695438, "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": "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": {}, "created_at": 1724945831.6999884, "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": "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": {}, "created_at": 1724945831.701681, "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": "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": {}, "created_at": 1724945831.7033145, "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": "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": {}, "created_at": 1724945831.7051048, "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": "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": {}, "created_at": 1724945831.7067223, "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": "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": {"alias": "dbt_utils_accepted_range_spot__fde6d5b608f35fa598f8e7ca933aa5f8"}, "created_at": 1724945831.7083464, "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": "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": {}, "created_at": 1724945831.7128417, "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": "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": {}, "created_at": 1724945831.7145772, "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": "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": {"alias": "not_null_spot_synth_registered_24c43a4e864a0810c9cb52d5d564cd74"}, "created_at": 1724945831.7162395, "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": "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": {}, "created_at": 1724945831.7180195, "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": "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": {"alias": "accepted_values_spot_synth_reg_fedea85a7b1d2062774e1e713536791e"}, "created_at": 1724945831.7200997, "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": "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": {"alias": "not_null_spot_synth_registered_9666aca0705c3f058c05e5046e31f743"}, "created_at": 1724945831.725023, "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": "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": {}, "created_at": 1724945831.7270453, "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": "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": {"alias": "dbt_utils_accepted_range_spot__118beddb72a791fb331bdcbe14c456e3"}, "created_at": 1724945831.728943, "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": "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": {}, "created_at": 1724945831.7334967, "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": "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": {}, "created_at": 1724945831.7355263, "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": "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": {"alias": "dbt_utils_accepted_range_spot__82b39e4f1130c8843eed9f8114bed411"}, "created_at": 1724945831.7374127, "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": "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": {}, "created_at": 1724945831.7418718, "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": "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": {}, "created_at": 1724945831.7435942, "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": "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": {}, "created_at": 1724945831.7453506, "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": "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": {}, "created_at": 1724945831.7469923, "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": "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": {}, "created_at": 1724945831.7486763, "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": "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": {"alias": "dbt_utils_accepted_range_spot__16e212051b13a672328df75be071827f"}, "created_at": 1724945831.7505305, "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": "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": {}, "created_at": 1724945831.7549767, "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": "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": {}, "created_at": 1724945831.75692, "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": "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": {}, "created_at": 1724945831.758702, "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": "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": {"alias": "accepted_values_spot_synth_bou_4d0f7b26a6e9d474f288b820a2a82e88"}, "created_at": 1724945831.7605076, "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": "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": {}, "created_at": 1724945831.765298, "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": "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": {"alias": "accepted_values_spot_synth_sol_0a88e02c20f4285a38c7fc2ec7440aa5"}, "created_at": 1724945831.7670522, "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": "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": {}, "created_at": 1724945831.7739906, "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": "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": {}, "created_at": 1724945831.7759788, "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": "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": {"alias": "dbt_utils_accepted_range_spot__39815e5a71f59b35ff559c6cb94df4e2"}, "created_at": 1724945831.7776914, "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": "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": {}, "created_at": 1724945831.781992, "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": "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": {}, "created_at": 1724945831.7836144, "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": "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": {}, "created_at": 1724945831.7852595, "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": "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": {}, "created_at": 1724945831.787012, "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": "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": {"alias": "dbt_utils_accepted_range_spot__965ba5e4a40cef652215a98792245930"}, "created_at": 1724945831.7886503, "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": "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": {}, "created_at": 1724945831.792752, "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": "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": {"alias": "dbt_utils_accepted_range_spot__f354cedc5a73045b7c974894592d98d4"}, "created_at": 1724945831.7945716, "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": "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": {}, "created_at": 1724945831.7985759, "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": "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": {"alias": "dbt_utils_accepted_range_spot__811ac17f45c2607ffe25a2191580334f"}, "created_at": 1724945831.8003745, "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": "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": {}, "created_at": 1724945831.8043702, "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": "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": {}, "created_at": 1724945831.8062005, "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": "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": {}, "created_at": 1724945831.8078194, "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": "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": {}, "created_at": 1724945831.8094587, "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": "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": {}, "created_at": 1724945831.8110807, "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": "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": {}, "created_at": 1724945831.8127055, "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": "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": {}, "created_at": 1724945831.814397, "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": "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": {"alias": "dbt_utils_accepted_range_spot__6cace87e4dac2e4c3b6e4cc8c2ab6183"}, "created_at": 1724945831.8159995, "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": "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": {}, "created_at": 1724945831.8201733, "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": "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": {}, "created_at": 1724945831.8217988, "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": "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": {"alias": "accepted_values_spot_synth_wra_b91a1226e94bc45aafd59decf0beb7da"}, "created_at": 1724945831.8234086, "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": "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": {}, "created_at": 1724945831.8278482, "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": "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": {}, "created_at": 1724945831.8294742, "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": "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": {}, "created_at": 1724945831.8310773, "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": "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": {"alias": "dbt_utils_accepted_range_spot__5916f3e442949c3b85752fe12637d1f8"}, "created_at": 1724945831.8326983, "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": "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": {}, "created_at": 1724945831.8367898, "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": "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": {}, "created_at": 1724945831.8383963, "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": "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": {"alias": "dbt_utils_accepted_range_spot__b89d045b278e76cb3f1a9a3e7a3af418"}, "created_at": 1724945831.8399985, "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": "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": {}, "created_at": 1724945831.8440897, "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": "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": {"alias": "dbt_utils_accepted_range_spot__2a1f6354cf1b32473953f1a2a502086a"}, "created_at": 1724945831.845737, "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": "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": {}, "created_at": 1724945831.849831, "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": "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": {"alias": "accepted_values_spot_synth_unw_8ff3edab6d10fb5d2c67b3a892cce771"}, "created_at": 1724945831.8514547, "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": "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": {}, "created_at": 1724945831.8562589, "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": "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": {}, "created_at": 1724945831.8579502, "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": "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": {}, "created_at": 1724945831.8595438, "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": "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": {}, "created_at": 1724945831.8612967, "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": "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": {}, "created_at": 1724945831.8629172, "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": "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": {}, "created_at": 1724945831.8645635, "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": "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": {"alias": "dbt_utils_accepted_range_spot__75e894a262aaded64378571f08266f9c"}, "created_at": 1724945831.8661802, "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": "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": {}, "created_at": 1724945831.8722322, "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": "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": {}, "created_at": 1724945831.8739777, "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": "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": {}, "created_at": 1724945831.8756235, "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": "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": {}, "created_at": 1724945831.9061098, "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": "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": {}, "created_at": 1724945831.90789, "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": "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": {"alias": "dbt_utils_accepted_range_core__d3c170d9b1af1c90f03d4a7ddd481a8a"}, "created_at": 1724945831.909552, "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": "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": {}, "created_at": 1724945831.913957, "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": "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": {}, "created_at": 1724945831.915565, "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": "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": {}, "created_at": 1724945831.9171758, "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": "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": {}, "created_at": 1724945831.918949, "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": "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": {}, "created_at": 1724945831.920524, "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": "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": {}, "created_at": 1724945831.922136, "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": "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": {"alias": "accepted_values_core_account_c_7deddd78526590b6fcfe2d7cc7ffc229"}, "created_at": 1724945831.9237149, "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": "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": {}, "created_at": 1724945831.9278994, "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": "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": {}, "created_at": 1724945831.9295642, "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": "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": {}, "created_at": 1724945831.9311697, "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": "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": {}, "created_at": 1724945831.9329271, "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": "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": {}, "created_at": 1724945831.9345226, "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": "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": {"alias": "dbt_utils_accepted_range_core__af1c1b7dc2e89ddcc80a7182014097c9"}, "created_at": 1724945831.9361145, "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": "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": {"alias": "not_null_core_delegation_updat_fced6f6a07ae6cf4cc4ca4aec59538e9"}, "created_at": 1724945831.9414039, "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": "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": {}, "created_at": 1724945831.9430647, "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": "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": {"alias": "dbt_utils_accepted_range_core__646ffddebcdfdc39eca01ef79c5888c3"}, "created_at": 1724945831.9447904, "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": "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": {}, "created_at": 1724945831.949397, "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": "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": {"alias": "not_null_core_delegation_updat_1d8fb505dff149b0a79d18d14d459cb0"}, "created_at": 1724945831.9510267, "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": "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": {}, "created_at": 1724945831.952625, "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": "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": {}, "created_at": 1724945831.9543548, "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": "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": {"alias": "dbt_utils_accepted_range_core__227dfefd0387eb2a49e4e51d7751b403"}, "created_at": 1724945831.9559839, "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": "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": {"alias": "not_null_core_delegation_updat_f5c10a02007f076c72c065e66ac6c125"}, "created_at": 1724945831.9602265, "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": "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": {}, "created_at": 1724945831.9621305, "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": "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": {"alias": "dbt_utils_accepted_range_core__180f62a360449136307cad82d3d275c2"}, "created_at": 1724945831.963758, "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": "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": {}, "created_at": 1724945831.968502, "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": "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": {"alias": "accepted_values_core_delegatio_5725850bbca14a54c6e29ef720390e08"}, "created_at": 1724945831.970208, "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": "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": {}, "created_at": 1724945831.9745831, "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": "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": {}, "created_at": 1724945831.9762616, "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": "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": {}, "created_at": 1724945831.9779274, "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": "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": {}, "created_at": 1724945831.9796169, "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": "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": {}, "created_at": 1724945831.9812663, "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": "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": {"alias": "accepted_values_core_deposited_3447f586ef0bedc98c0034a9029207a9"}, "created_at": 1724945831.983016, "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": "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": {}, "created_at": 1724945831.9874718, "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": "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": {}, "created_at": 1724945831.9893177, "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": "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": {"alias": "dbt_utils_accepted_range_core__90868842c54bde794fa0177f8b525764"}, "created_at": 1724945831.990978, "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": "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": {}, "created_at": 1724945831.9954393, "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": "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": {}, "created_at": 1724945831.997348, "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": "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": {}, "created_at": 1724945831.9989605, "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": "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": {}, "created_at": 1724945832.0005524, "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": "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": {"alias": "dbt_utils_accepted_range_core__c4751eb754fdeafc806c3c5daee5eec0"}, "created_at": 1724945832.0021975, "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": "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": {}, "created_at": 1724945832.0068254, "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": "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": {}, "created_at": 1724945832.008529, "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": "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": {}, "created_at": 1724945832.0102308, "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": "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": {}, "created_at": 1724945832.012045, "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": "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": {}, "created_at": 1724945832.0137153, "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": "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": {"alias": "dbt_utils_accepted_range_core__157007dec7b1b2d22ad30881236c1034"}, "created_at": 1724945832.015331, "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": "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": {}, "created_at": 1724945832.0200486, "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": "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": {}, "created_at": 1724945832.0217319, "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": "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": {"alias": "dbt_utils_accepted_range_core__b697698686fcde3c8868f6ddae12ac0a"}, "created_at": 1724945832.0233808, "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": "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": {}, "created_at": 1724945832.029005, "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": "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": {}, "created_at": 1724945832.030773, "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": "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": {}, "created_at": 1724945832.0324836, "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": "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": {}, "created_at": 1724945832.0343776, "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": "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": {"alias": "accepted_values_core_withdrawn_385bab233f89206ca427f62b7d61d652"}, "created_at": 1724945832.036032, "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": "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": {}, "created_at": 1724945832.040637, "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": "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": {"alias": "dbt_utils_accepted_range_core__fc42306ae34220c01d6a0ae29644bf2f"}, "created_at": 1724945832.0425174, "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": "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": {}, "created_at": 1724945832.0468416, "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": "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": {}, "created_at": 1724945832.0486505, "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": "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": {}, "created_at": 1724945832.0502796, "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": "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": {}, "created_at": 1724945832.0518746, "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": "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": {}, "created_at": 1724945832.0535061, "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": "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": {}, "created_at": 1724945832.0551083, "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": "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": {"alias": "accepted_values_core_liquidati_b461cb0ce5ba60061680a38a20df3a2e"}, "created_at": 1724945832.056912, "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": "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": {}, "created_at": 1724945832.0615935, "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": "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": {}, "created_at": 1724945832.0634766, "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": "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": {}, "created_at": 1724945832.0651963, "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": "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": {"alias": "dbt_utils_accepted_range_core__273b8f3b9e78a44685ad78298bd5d2be"}, "created_at": 1724945832.0668614, "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": "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": {}, "created_at": 1724945832.0715435, "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": "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": {"alias": "not_null_core_liquidation_arbi_16feddd4f091f1c8b33b9fc2c628662a"}, "created_at": 1724945832.0732214, "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": "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": {"alias": "dbt_utils_accepted_range_core__3993674f5aef91e5ca368e8994926d90"}, "created_at": 1724945832.0748332, "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": "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": {}, "created_at": 1724945832.079219, "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": "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": {}, "created_at": 1724945832.080862, "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": "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": {}, "created_at": 1724945832.0824616, "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": "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": {}, "created_at": 1724945832.08418, "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": "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": {}, "created_at": 1724945832.0859325, "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": "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": {}, "created_at": 1724945832.0875432, "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": "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": {}, "created_at": 1724945832.0892031, "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": "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": {"alias": "accepted_values_core_market_up_b76a5504615718e4ffa3b776b6ea5c91"}, "created_at": 1724945832.0908868, "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": "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": {}, "created_at": 1724945832.0957499, "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": "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": {"alias": "dbt_utils_accepted_range_core__d39651506f1030eacebe3ec3c822ec64"}, "created_at": 1724945832.097455, "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": "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": {}, "created_at": 1724945832.1019275, "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": "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": {"alias": "not_null_core_market_updated_a_f6b087458c0e22c04274bb81951dc41b"}, "created_at": 1724945832.1035652, "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": "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": {"alias": "dbt_utils_accepted_range_core__9d012abc2b4be45d3e97e9202dc66a1c"}, "created_at": 1724945832.1052191, "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": "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": {}, "created_at": 1724945832.1096225, "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": "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": {}, "created_at": 1724945832.1112514, "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": "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": {}, "created_at": 1724945832.112897, "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": "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": {}, "created_at": 1724945832.1150682, "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": "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": {"alias": "dbt_utils_accepted_range_core__67dac80f9dcdf38e14e2fbc6b32a6d83"}, "created_at": 1724945832.1167486, "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": "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": {}, "created_at": 1724945832.1213691, "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": "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": {}, "created_at": 1724945832.1230145, "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": "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": {}, "created_at": 1724945832.1246002, "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": "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": {}, "created_at": 1724945832.1262333, "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": "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": {}, "created_at": 1724945832.1278133, "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": "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": {"alias": "not_null_core_market_registere_c57a86870f109ad96c0d360987a8207c"}, "created_at": 1724945832.129584, "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": "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": {}, "created_at": 1724945832.1311672, "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": "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": {"alias": "not_null_core_market_registere_b02c7bb3e6bd5839f3bc17265cd86d25"}, "created_at": 1724945832.132848, "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": "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": {}, "created_at": 1724945832.1345263, "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": "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": {}, "created_at": 1724945832.1363378, "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": "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": {"alias": "accepted_values_core_market_re_20130db6dbec068215208cbe897b2b55"}, "created_at": 1724945832.1380143, "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": "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": {}, "created_at": 1724945832.142585, "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": "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": {}, "created_at": 1724945832.1444101, "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": "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": {}, "created_at": 1724945832.1460512, "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": "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": {}, "created_at": 1724945832.147663, "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": "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": {}, "created_at": 1724945832.1493065, "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": "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": {}, "created_at": 1724945832.151039, "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": "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": {}, "created_at": 1724945832.1526508, "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": "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": {}, "created_at": 1724945832.1542382, "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": "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": {}, "created_at": 1724945832.1558223, "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": "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": {"alias": "accepted_values_core_pool_crea_a17eefdc7d24bce86f77b4966bf4e668"}, "created_at": 1724945832.157445, "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": "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": {}, "created_at": 1724945832.1619344, "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": "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": {}, "created_at": 1724945832.163553, "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": "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": {"alias": "dbt_utils_accepted_range_core__65669fa37be963cd9f3e10b8bcee5519"}, "created_at": 1724945832.1653168, "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": "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": {}, "created_at": 1724945832.1695635, "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": "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": {}, "created_at": 1724945832.171159, "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": "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": {"alias": "dbt_utils_accepted_range_core__ac48ca95f58e2993da96dd57dd4ad254"}, "created_at": 1724945832.172977, "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": "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": {}, "created_at": 1724945832.1771326, "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": "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": {}, "created_at": 1724945832.178959, "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": "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": {"alias": "accepted_values_core_rewards_c_b4db4e792106976cb0bc53713ae3e798"}, "created_at": 1724945832.1806602, "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": "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": {}, "created_at": 1724945832.1854007, "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": "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": {}, "created_at": 1724945832.1871014, "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": "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": {"alias": "dbt_utils_accepted_range_core__37349c7a4b27e39f3e3de58d8f4d2064"}, "created_at": 1724945832.188773, "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": "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": {}, "created_at": 1724945832.1932516, "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": "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": {}, "created_at": 1724945832.1948729, "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": "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": {}, "created_at": 1724945832.1964772, "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": "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": {}, "created_at": 1724945832.1981158, "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": "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": {}, "created_at": 1724945832.2001388, "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": "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": {"alias": "dbt_utils_accepted_range_core__95ee130683b78a9a686d13557b8da0df"}, "created_at": 1724945832.20177, "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": "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": {}, "created_at": 1724945832.2061336, "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": "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": {}, "created_at": 1724945832.207762, "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": "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": {}, "created_at": 1724945832.2094147, "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": "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": {}, "created_at": 1724945832.2110279, "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": "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": {"alias": "accepted_values_core_rewards_d_c4d02664fe5fd73ad0cd08d90a45df93"}, "created_at": 1724945832.212676, "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": "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": {}, "created_at": 1724945832.2173517, "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": "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": {"alias": "dbt_utils_accepted_range_core__c649dd36588419f649cb77ff64dde320"}, "created_at": 1724945832.2193198, "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": "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": {}, "created_at": 1724945832.2240353, "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": "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": {"alias": "not_null_core_rewards_distribu_d358d4d6fc350302f646e173f81553fa"}, "created_at": 1724945832.2257435, "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": "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": {"alias": "not_null_core_rewards_distribu_141ce5a090bb2655851c64ccf521f1c3"}, "created_at": 1724945832.2273576, "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": "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": {"alias": "not_null_core_rewards_distribu_f554e6fcd674a4f91521cfda5e60dd7f"}, "created_at": 1724945832.22917, "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": "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": {}, "created_at": 1724945832.2308018, "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": "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": {}, "created_at": 1724945832.2324107, "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": "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": {"alias": "dbt_utils_accepted_range_core__3407656309239400cccbdd372d1e7229"}, "created_at": 1724945832.234092, "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": "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": {}, "created_at": 1724945832.238539, "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": "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": {}, "created_at": 1724945832.2401621, "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": "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": {"alias": "dbt_utils_accepted_range_core__44c4075a3f7e8e57f4d5a999a7663ff1"}, "created_at": 1724945832.2418113, "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": "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": {}, "created_at": 1724945832.2462432, "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": "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": {"alias": "dbt_utils_accepted_range_core__0a00bf0bd627dd3eae2f47a6f7a05666"}, "created_at": 1724945832.2478988, "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": "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": {}, "created_at": 1724945832.2523844, "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": "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": {"alias": "dbt_utils_accepted_range_core__2a1144bd3e844e07de9f804027a1907f"}, "created_at": 1724945832.2540581, "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": "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": {}, "created_at": 1724945832.2589564, "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": "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": {"alias": "accepted_values_core_usd_burne_8664ec3d1bb6c7da37f5a75513d3acd7"}, "created_at": 1724945832.2608304, "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": "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": {}, "created_at": 1724945832.26547, "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": "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": {}, "created_at": 1724945832.2671797, "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": "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": {}, "created_at": 1724945832.268863, "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": "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": {}, "created_at": 1724945832.2705147, "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": "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": {"alias": "dbt_utils_accepted_range_core__059e4866e10968bba36db62a8f9829b3"}, "created_at": 1724945832.2723036, "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": "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": {}, "created_at": 1724945832.2770228, "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": "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": {}, "created_at": 1724945832.2788677, "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": "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": {}, "created_at": 1724945832.2805066, "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": "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": {}, "created_at": 1724945832.2821913, "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": "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": {}, "created_at": 1724945832.283785, "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": "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": {}, "created_at": 1724945832.285394, "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": "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": {"alias": "dbt_utils_accepted_range_core__95bf5faf485a2814ae3e7010fcdd5245"}, "created_at": 1724945832.2876601, "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": "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": {}, "created_at": 1724945832.2921383, "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": "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": {}, "created_at": 1724945832.2939894, "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": "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": {"alias": "dbt_utils_accepted_range_core__64f2c5fb0744e92501174644968cd5fb"}, "created_at": 1724945832.2956069, "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": "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": {}, "created_at": 1724945832.299847, "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": "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": {}, "created_at": 1724945832.3016727, "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": "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": {}, "created_at": 1724945832.3032734, "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": "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": {}, "created_at": 1724945832.304908, "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": "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": {}, "created_at": 1724945832.30652, "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": "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": {}, "created_at": 1724945832.3082178, "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": "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": {"alias": "dbt_utils_accepted_range_core__6f091bc88ed9f23de9917bc273b6c6bd"}, "created_at": 1724945832.30987, "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": "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": {}, "created_at": 1724945832.3150072, "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": "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": {"alias": "accepted_values_core_usd_minte_1bb63cf3c04acb8bfba2fe6ad729f0a4"}, "created_at": 1724945832.3168466, "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": "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": {}, "created_at": 1724945832.3213613, "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": "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": {}, "created_at": 1724945832.3231726, "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": "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": {"alias": "not_null_core_vault_liquidatio_b5e91954c312abdf474f65aa83e48506"}, "created_at": 1724945832.3248234, "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": "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": {"alias": "not_null_core_vault_liquidatio_a99c3c61e60ac85e0d2bbd5f4d091507"}, "created_at": 1724945832.3264172, "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": "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": {}, "created_at": 1724945832.3279793, "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": "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": {"alias": "dbt_utils_accepted_range_core__c0e93e66fb32a059c914f202325f04b9"}, "created_at": 1724945832.3297095, "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": "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": {}, "created_at": 1724945832.3340342, "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": "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": {"alias": "accepted_values_core_vault_liq_06f5266a00ebf4484edc06365604ad77"}, "created_at": 1724945832.3357215, "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": "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": {}, "created_at": 1724945832.340302, "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": "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": {}, "created_at": 1724945832.3420098, "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": "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": {"alias": "not_null_core_vault_liquidatio_8474e116a366423f34bd32de6582bf97"}, "created_at": 1724945832.3437788, "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": "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": {"alias": "not_null_core_vault_liquidatio_3e2565718ac00c290af7457ec26b233c"}, "created_at": 1724945832.3454444, "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": "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": {"alias": "dbt_utils_accepted_range_core__312126bbb7f0708207b65a92945e2d6a"}, "created_at": 1724945832.3471344, "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": "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": {"alias": "not_null_core_vault_liquidatio_66ecc7fe1d37c1d9697b7dac6b89c3dc"}, "created_at": 1724945832.3517883, "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": "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": {}, "created_at": 1724945832.3534982, "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": "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": {}, "created_at": 1724945832.3551733, "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": "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": {}, "created_at": 1724945832.3568265, "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": "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": {}, "created_at": 1724945832.3585582, "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": "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": {}, "created_at": 1724945832.3601594, "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": "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": {}, "created_at": 1724945832.3617532, "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": "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": {"alias": "dbt_utils_accepted_range_core__4ae40b67211395d720c418bb146a39c3"}, "created_at": 1724945832.3633544, "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": "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": {}, "created_at": 1724945832.3682804, "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": "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": {}, "created_at": 1724945832.3700378, "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": "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": {"alias": "dbt_utils_accepted_range_core__cfa1da681108928e241342bb92348089"}, "created_at": 1724945832.3717113, "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": "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": {"alias": "not_null_core_vault_collateral_30e3cc1f32a7c29bc10fb8b0f5d20d15"}, "created_at": 1724945832.3767488, "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": "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": {"alias": "dbt_utils_accepted_range_core__6e9e2ae1310a4e2c125a94e925ab5ce8"}, "created_at": 1724945832.378376, "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": "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": {"alias": "not_null_core_vault_collateral_4bd9ecf367855f7e41dffdb9f577c757"}, "created_at": 1724945832.38276, "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": "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": {}, "created_at": 1724945832.3843753, "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": "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": {}, "created_at": 1724945832.3860228, "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": "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": {}, "created_at": 1724945832.3877547, "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": "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": {"alias": "dbt_utils_accepted_range_core__792273c8e527e5b1b36e4666a5d0ee23"}, "created_at": 1724945832.3894017, "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": "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": {}, "created_at": 1724945832.3936415, "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": "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": {}, "created_at": 1724945832.395473, "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": "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": {}, "created_at": 1724945832.3971438, "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": "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": {}, "created_at": 1724945832.4148107, "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": "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": {}, "created_at": 1724945832.4167416, "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": "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": {}, "created_at": 1724945832.41848, "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": "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": {"alias": "accepted_values_spot_order_com_7c9b04e5bbdb951246b0c9844010bbc6"}, "created_at": 1724945832.4203868, "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": "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": {}, "created_at": 1724945832.424829, "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": "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": {}, "created_at": 1724945832.4265523, "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": "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": {}, "created_at": 1724945832.4284105, "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": "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": {}, "created_at": 1724945832.4301236, "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": "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": {"alias": "dbt_utils_accepted_range_spot__5a34291a71efb29313103eb39bf2892c"}, "created_at": 1724945832.4317863, "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": "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": {}, "created_at": 1724945832.436436, "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": "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": {}, "created_at": 1724945832.4381387, "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": "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": {}, "created_at": 1724945832.43978, "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": "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": {"alias": "dbt_utils_accepted_range_spot__4c6d95c8e2708f1280d840b1803355d8"}, "created_at": 1724945832.4414837, "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": "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": {}, "created_at": 1724945832.4463387, "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": "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": {}, "created_at": 1724945832.448066, "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": "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": {"alias": "dbt_utils_accepted_range_spot__4a73de204b1dfcf91618b24d0ead6352"}, "created_at": 1724945832.449941, "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": "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": {}, "created_at": 1724945832.4544487, "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": "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": {}, "created_at": 1724945832.4561503, "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": "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": {}, "created_at": 1724945832.4580405, "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": "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": {}, "created_at": 1724945832.459708, "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": "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": {}, "created_at": 1724945832.461399, "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": "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": {}, "created_at": 1724945832.4630363, "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": "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": {}, "created_at": 1724945832.4655962, "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": "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": {}, "created_at": 1724945832.467254, "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": "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": {}, "created_at": 1724945832.4689791, "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": "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": {"alias": "dbt_utils_accepted_range_spot__76a041fe88b59c30757024b4b5b64da1"}, "created_at": 1724945832.4707158, "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": "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": {}, "created_at": 1724945832.4754815, "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": "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": {"alias": "dbt_utils_accepted_range_spot__0ad36d3fa0b33a07759a4860000a9f5f"}, "created_at": 1724945832.4771876, "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": "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": {}, "created_at": 1724945832.4818442, "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": "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": {"alias": "dbt_utils_accepted_range_spot__cc020e7eff85ce396580d951c708f473"}, "created_at": 1724945832.483506, "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": "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": {}, "created_at": 1724945832.4881022, "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": "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": {"alias": "accepted_values_spot_order_set_e481e38872a1c89532855e5ebae95f7f"}, "created_at": 1724945832.4898736, "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": "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": {}, "created_at": 1724945832.494974, "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": "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": {}, "created_at": 1724945832.4967992, "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": "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": {}, "created_at": 1724945832.4985242, "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": "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": {}, "created_at": 1724945832.5002053, "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": "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": {}, "created_at": 1724945832.5020077, "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": "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": {}, "created_at": 1724945832.503669, "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": "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": {}, "created_at": 1724945832.505345, "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": "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": {"alias": "accepted_values_spot_order_can_d0329823473c419f7712d186d7b5e498"}, "created_at": 1724945832.5070071, "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": "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": {}, "created_at": 1724945832.511553, "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": "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": {"alias": "dbt_utils_accepted_range_spot__2e848fb90f5ce4223805616c1e8de0ea"}, "created_at": 1724945832.513259, "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": "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": {}, "created_at": 1724945832.5177648, "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": "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": {}, "created_at": 1724945832.519443, "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": "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": {}, "created_at": 1724945832.5211499, "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": "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": {}, "created_at": 1724945832.5227988, "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": "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": {}, "created_at": 1724945832.5246303, "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": "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": {"alias": "dbt_utils_accepted_range_spot__25ac38788b40f14b3b8c8c523ac5482c"}, "created_at": 1724945832.5263042, "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": "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": {}, "created_at": 1724945832.5310988, "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": "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": {}, "created_at": 1724945832.5327947, "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": "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": {"alias": "not_null_spot_synth_registered_2fb01859ed6fb2d73c15c31bcb3fc105"}, "created_at": 1724945832.5344772, "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": "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": {}, "created_at": 1724945832.536103, "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": "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": {"alias": "accepted_values_spot_synth_reg_0336e663d10f4ca4b2e33c83cf05eaec"}, "created_at": 1724945832.5377889, "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": "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": {"alias": "not_null_spot_synth_registered_6da863fc8d9528f5a1874d8fcd090533"}, "created_at": 1724945832.54229, "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": "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": {}, "created_at": 1724945832.5439718, "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": "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": {"alias": "dbt_utils_accepted_range_spot__56d8991577d08d939e2ea1986046da54"}, "created_at": 1724945832.5458086, "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": "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": {}, "created_at": 1724945832.5501573, "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": "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": {}, "created_at": 1724945832.5526526, "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": "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": {"alias": "dbt_utils_accepted_range_spot__4701c94b1c8e345374139f3eba28b34f"}, "created_at": 1724945832.5543287, "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": "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": {}, "created_at": 1724945832.5587914, "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": "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": {}, "created_at": 1724945832.5606518, "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": "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": {}, "created_at": 1724945832.5623155, "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": "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": {}, "created_at": 1724945832.5639389, "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": "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": {}, "created_at": 1724945832.5655959, "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": "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": {"alias": "dbt_utils_accepted_range_spot__ec6b539a91243fffbbaaa70b65f8ea55"}, "created_at": 1724945832.5673292, "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": "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": {}, "created_at": 1724945832.5717967, "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": "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": {}, "created_at": 1724945832.57348, "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": "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": {}, "created_at": 1724945832.575298, "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": "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": {"alias": "accepted_values_spot_synth_bou_1c39f8fe0d97b36e91f7b53ed95d2a10"}, "created_at": 1724945832.5769937, "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": "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": {}, "created_at": 1724945832.5813568, "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": "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": {"alias": "accepted_values_spot_synth_sol_d9a0bcb42697942066d52485de1a1b5e"}, "created_at": 1724945832.583017, "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": "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": {}, "created_at": 1724945832.5876777, "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": "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": {}, "created_at": 1724945832.5894492, "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": "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": {"alias": "dbt_utils_accepted_range_spot__6c0549b03b360d8cf75cf8b1c2153f8e"}, "created_at": 1724945832.591146, "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": "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": {}, "created_at": 1724945832.5955956, "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": "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": {}, "created_at": 1724945832.5973003, "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": "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": {}, "created_at": 1724945832.599075, "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": "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": {}, "created_at": 1724945832.600834, "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": "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": {"alias": "dbt_utils_accepted_range_spot__fddc9ab15032c2b01e4f5a2d714abd05"}, "created_at": 1724945832.602641, "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": "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": {}, "created_at": 1724945832.607232, "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": "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": {"alias": "dbt_utils_accepted_range_spot__43a3fa02c5bf4f1b6e2d8a42aa072f09"}, "created_at": 1724945832.6091218, "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": "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": {}, "created_at": 1724945832.613447, "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": "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": {"alias": "dbt_utils_accepted_range_spot__bff2bd10b1ca34eec54bf964bae4a98c"}, "created_at": 1724945832.6151485, "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": "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": {}, "created_at": 1724945832.6197274, "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": "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": {}, "created_at": 1724945832.6214035, "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": "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": {}, "created_at": 1724945832.6231833, "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": "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": {}, "created_at": 1724945832.6248658, "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": "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": {}, "created_at": 1724945832.6265025, "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": "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": {}, "created_at": 1724945832.6281211, "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": "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": {}, "created_at": 1724945832.629756, "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": "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": {"alias": "dbt_utils_accepted_range_spot__0888c7458ff5876cced73d9a0ba1959c"}, "created_at": 1724945832.6314905, "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": "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": {}, "created_at": 1724945832.635873, "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": "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": {}, "created_at": 1724945832.637993, "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": "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": {"alias": "accepted_values_spot_synth_wra_6aa8a879b7bf7c59378d8ed42dff1697"}, "created_at": 1724945832.6396525, "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": "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": {}, "created_at": 1724945832.6438036, "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": "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": {}, "created_at": 1724945832.6456707, "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": "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": {}, "created_at": 1724945832.6473134, "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": "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": {"alias": "dbt_utils_accepted_range_spot__2285c31b6c2a1bb99689a0bc568960ad"}, "created_at": 1724945832.6490214, "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": "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": {}, "created_at": 1724945832.6538708, "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": "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": {}, "created_at": 1724945832.6555533, "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": "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": {"alias": "dbt_utils_accepted_range_spot__a7cec5df7d3e44ee4aee7a99c592f863"}, "created_at": 1724945832.657245, "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": "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": {}, "created_at": 1724945832.6618364, "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": "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": {"alias": "dbt_utils_accepted_range_spot__8d9f8de76c5b68ce5a80ebfa99b18292"}, "created_at": 1724945832.6635098, "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": "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": {}, "created_at": 1724945832.667944, "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": "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": {"alias": "accepted_values_spot_synth_unw_5059cd55122eebf2fb18a70d62ded865"}, "created_at": 1724945832.6696546, "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": "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": {}, "created_at": 1724945832.6740344, "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": "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": {}, "created_at": 1724945832.675701, "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": "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": {}, "created_at": 1724945832.677391, "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": "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": {}, "created_at": 1724945832.6790571, "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": "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": {}, "created_at": 1724945832.6808803, "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": "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": {}, "created_at": 1724945832.6826088, "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": "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": {"alias": "dbt_utils_accepted_range_spot__3999a4f439b69d2d791e17ef8117b4b7"}, "created_at": 1724945832.684257, "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_snax_testnet_block_number.cbe563226c": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_snax_testnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_snax_testnet_block_number.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_snax_testnet_block_number.cbe563226c", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_blocks_snax_testnet_block_number"], "alias": "not_null_blocks_snax_testnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7112408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_blocks_snax_testnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"blocks_snax_testnet\"\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_snax_testnet", "attached_node": "model.synthetix.blocks_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.unique_blocks_snax_testnet_block_number.2af7f40583": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_blocks_snax_testnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "unique_blocks_snax_testnet_block_number.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.unique_blocks_snax_testnet_block_number.2af7f40583", "fqn": ["synthetix", "raw", "snax", "testnet", "unique_blocks_snax_testnet_block_number"], "alias": "unique_blocks_snax_testnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7130802, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "blocks_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.blocks_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_blocks_snax_testnet_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_snax_testnet\".\"blocks_snax_testnet\"\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_snax_testnet", "attached_node": "model.synthetix.blocks_snax_testnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('blocks_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_id.94c183a836": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_id.94c183a836", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_id"], "alias": "not_null_gov_vote_recorded_snax_testnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7147326, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.unique_gov_vote_recorded_snax_testnet_id.077b70d622": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_gov_vote_recorded_snax_testnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_gov_vote_recorded_snax_testnet_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.unique_gov_vote_recorded_snax_testnet_id.077b70d622", "fqn": ["synthetix", "raw", "snax", "testnet", "unique_gov_vote_recorded_snax_testnet_id"], "alias": "unique_gov_vote_recorded_snax_testnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7163658, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_event_name.76babc2551": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_event_name.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_event_name.76babc2551", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_event_name"], "alias": "not_null_gov_vote_recorded_snax_testnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.718034, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded.3107ed0913": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded.3107ed0913", "fqn": ["synthetix", "raw", "snax", "testnet", "accepted_values_gov_vote_recorded_snax_testnet_event_name__VoteRecorded"], "alias": "accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433", "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": {"alias": "accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433"}, "created_at": 1724945832.7197976, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433\") }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_recor_ad53864d93df37fcda9c0e00527ef433.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_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VoteRecorded'\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteRecorded"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_chain_id.af02247585": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_chain_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_chain_id.af02247585", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_chain_id"], "alias": "not_null_gov_vote_recorded_snax_testnet_chain_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7249126, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere chain_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "chain_id", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_timestamp.8bff125b42": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_block_timestamp.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_timestamp.8bff125b42", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_block_timestamp"], "alias": "not_null_gov_vote_recorded_snax_testnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7274714, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voter.32ab553729": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_voter.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voter.32ab553729", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_voter"], "alias": "not_null_gov_vote_recorded_snax_testnet_voter", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.72917, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere voter is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "voter", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_epoch_id.a4ace8d141": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_epoch_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_epoch_id.a4ace8d141", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_epoch_id"], "alias": "not_null_gov_vote_recorded_snax_testnet_epoch_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7308156, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere epoch_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "epoch_id", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_transaction_hash.32e2b72fab": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_transaction_hash.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_transaction_hash.32e2b72fab", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_transaction_hash"], "alias": "not_null_gov_vote_recorded_snax_testnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7324386, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.unique_gov_vote_recorded_snax_testnet_transaction_hash.2d1aaa8c7a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_gov_vote_recorded_snax_testnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_gov_vote_recorded_snax_testnet_transaction_hash.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.unique_gov_vote_recorded_snax_testnet_transaction_hash.2d1aaa8c7a", "fqn": ["synthetix", "raw", "snax", "testnet", "unique_gov_vote_recorded_snax_testnet_transaction_hash"], "alias": "unique_gov_vote_recorded_snax_testnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7341135, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_recorded_snax_testnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n transaction_hash as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere transaction_hash is not null\ngroup by transaction_hash\nhaving count(*) > 1\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_candidates.39ec698f83": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_candidates", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_candidates.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_candidates.39ec698f83", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_candidates"], "alias": "not_null_gov_vote_recorded_snax_testnet_candidates", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7358654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_candidates.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect candidates\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere candidates is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "candidates", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "candidates", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_number.bf5384239a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_block_number.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_block_number.bf5384239a", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_block_number"], "alias": "not_null_gov_vote_recorded_snax_testnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7375166, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voting_power.b8ee341c96": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_voting_power", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_voting_power.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_voting_power.b8ee341c96", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_voting_power"], "alias": "not_null_gov_vote_recorded_snax_testnet_voting_power", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.739133, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_voting_power.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voting_power\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\nwhere voting_power is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "voting_power", "file_key_name": "models.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voting_power", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_recorded_snax_testnet_contract.d372e887ba": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_recorded_snax_testnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_recorded_snax_testnet_contract.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_recorded_snax_testnet_contract.d372e887ba", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_recorded_snax_testnet_contract"], "alias": "not_null_gov_vote_recorded_snax_testnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7407677, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_recorded_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_recorded_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_recorded_snax_testnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_recorded_snax_testnet\"\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.gov_vote_recorded_snax_testnet", "attached_node": "model.synthetix.gov_vote_recorded_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('gov_vote_recorded_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_id.ab7d5eed00": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_id.ab7d5eed00", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_id"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7425208, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_id.014a1febf6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_gov_vote_withdrawn_snax_testnet_id", "resource_type": "test", "package_name": "synthetix", "path": "unique_gov_vote_withdrawn_snax_testnet_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_id.014a1febf6", "fqn": ["synthetix", "raw", "snax", "testnet", "unique_gov_vote_withdrawn_snax_testnet_id"], "alias": "unique_gov_vote_withdrawn_snax_testnet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7441769, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n id as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere id is not null\ngroup by id\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "id", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "id", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_event_name.07b79bcefd": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_event_name", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_event_name.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_event_name.07b79bcefd", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_event_name"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_event_name", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7458806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_event_name.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect event_name\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "event_name", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn.f8bcefc8de": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn.f8bcefc8de", "fqn": ["synthetix", "raw", "snax", "testnet", "accepted_values_gov_vote_withdrawn_snax_testnet_event_name__VoteWithdrawn"], "alias": "accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44", "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": {"alias": "accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44"}, "created_at": 1724945832.74755, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}{{ config(alias=\"accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44\") }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withd_6cff280c480680cb4fc118e253216b44.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_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\n group by event_name\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n 'VoteWithdrawn'\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["VoteWithdrawn"], "column_name": "event_name", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_chain_id.cd86db7422": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_chain_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_chain_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_chain_id.cd86db7422", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_chain_id"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_chain_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7526984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_chain_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect chain_id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere chain_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "chain_id", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "chain_id", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.9f8c73acde": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001", "resource_type": "test", "package_name": "synthetix", "path": "accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.9f8c73acde", "fqn": ["synthetix", "raw", "snax", "testnet", "accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001"], "alias": "accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.754372, "relation_name": null, "raw_code": "{{ test_accepted_values(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_accepted_values", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/accepted_values_gov_vote_withdrawn_snax_testnet_chain_id__13001.sql", "compiled": true, "compiled_code": "\n \n \n\nwith all_values as (\n\n select\n chain_id as value_field,\n count(*) as n_records\n\n from \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\n group by chain_id\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n '13001'\n)\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "chain_id", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "accepted_values", "kwargs": {"values": ["13001"], "column_name": "chain_id", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.68f3ce7c19": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_block_timestamp", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.68f3ce7c19", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_block_timestamp"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_block_timestamp", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7588751, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_timestamp.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_timestamp\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_timestamp", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_voter.486c8024f6": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_voter", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_voter.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_voter.486c8024f6", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_voter"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_voter", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.760549, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_voter.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect voter\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere voter is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "voter", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "voter", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_epoch_id.3f22d60c1a": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_epoch_id", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_epoch_id.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_epoch_id.3f22d60c1a", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_epoch_id"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_epoch_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7622228, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_epoch_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect epoch_id\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere epoch_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "contract": {"enforced": false, "alias_types": true, "checksum": null}, "column_name": "epoch_id", "file_key_name": "models.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "epoch_id", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.4d14f7c906": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.4d14f7c906", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_transaction_hash"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7639725, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect transaction_hash\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_transaction_hash.2cda794480": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "unique_gov_vote_withdrawn_snax_testnet_transaction_hash", "resource_type": "test", "package_name": "synthetix", "path": "unique_gov_vote_withdrawn_snax_testnet_transaction_hash.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.unique_gov_vote_withdrawn_snax_testnet_transaction_hash.2cda794480", "fqn": ["synthetix", "raw", "snax", "testnet", "unique_gov_vote_withdrawn_snax_testnet_transaction_hash"], "alias": "unique_gov_vote_withdrawn_snax_testnet_transaction_hash", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7656226, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/unique_gov_vote_withdrawn_snax_testnet_transaction_hash.sql", "compiled": true, "compiled_code": "\n \n \n\nselect\n transaction_hash as unique_field,\n count(*) as n_records\n\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\nwhere transaction_hash is not null\ngroup by transaction_hash\nhaving count(*) > 1\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "unique", "kwargs": {"column_name": "transaction_hash", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_number.c805901c73": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_block_number.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_block_number.c805901c73", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_block_number"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7672505, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_block_number.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect block_number\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "block_number", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_contract.4b45185581": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_gov_vote_withdrawn_snax_testnet_contract", "resource_type": "test", "package_name": "synthetix", "path": "not_null_gov_vote_withdrawn_snax_testnet_contract.sql", "original_file_path": "models/raw/snax/testnet/schema.yml", "unique_id": "test.synthetix.not_null_gov_vote_withdrawn_snax_testnet_contract.4b45185581", "fqn": ["synthetix", "raw", "snax", "testnet", "not_null_gov_vote_withdrawn_snax_testnet_contract"], "alias": "not_null_gov_vote_withdrawn_snax_testnet_contract", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "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": {}, "created_at": 1724945832.7689312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [{"name": "gov_vote_withdrawn_snax_testnet", "package": null, "version": null}], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.synthetix.gov_vote_withdrawn_snax_testnet"]}, "compiled_path": "target/compiled/synthetix/models/raw/snax/testnet/schema.yml/not_null_gov_vote_withdrawn_snax_testnet_contract.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect contract\nfrom \"analytics\".\"prod_raw_snax_testnet\".\"gov_vote_withdrawn_snax_testnet\"\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.gov_vote_withdrawn_snax_testnet", "attached_node": "model.synthetix.gov_vote_withdrawn_snax_testnet", "test_metadata": {"name": "not_null", "kwargs": {"column_name": "contract", "model": "{{ get_where_subquery(ref('gov_vote_withdrawn_snax_testnet')) }}"}, "namespace": null}}, "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2": {"database": "analytics", "schema": "prod_dbt_test__audit", "name": "not_null_blocks_base_mainnet_block_number", "resource_type": "test", "package_name": "synthetix", "path": "not_null_blocks_base_mainnet_block_number.sql", "original_file_path": "models/raw/base/mainnet/schema.yml", "unique_id": "test.synthetix.not_null_blocks_base_mainnet_block_number.bb1b2f53c2", "fqn": ["synthetix", "raw", "base", "mainnet", "not_null_blocks_base_mainnet_block_number"], "alias": "not_null_blocks_base_mainnet_block_number", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "group": null, "materialized": "test", "severity": "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": {}, "created_at": 1724945832.771835, "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": "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": {}, "created_at": 1724945832.7735763, "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": "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": {}, "created_at": 1724945832.775456, "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": "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": {}, "created_at": 1724945832.807612, "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": "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": {}, "created_at": 1724945832.8094895, "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": "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": {}, "created_at": 1724945832.8111753, "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": "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": {"alias": "accepted_values_perp_account_c_229a191ffc81a3a6f7489f91172d1270"}, "created_at": 1724945832.8136892, "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": "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": {}, "created_at": 1724945832.8182366, "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": "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": {}, "created_at": 1724945832.8200908, "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": "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": {}, "created_at": 1724945832.8217695, "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": "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": {}, "created_at": 1724945832.823408, "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": "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": {"alias": "dbt_utils_accepted_range_perp__2515c92d23eeb0890b4c2f5b889727c9"}, "created_at": 1724945832.8250864, "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": "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": {}, "created_at": 1724945832.8293862, "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": "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": {}, "created_at": 1724945832.831034, "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": "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": {}, "created_at": 1724945832.8326986, "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": "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": {}, "created_at": 1724945832.8344922, "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": "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": {}, "created_at": 1724945832.836134, "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": "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": {}, "created_at": 1724945832.8377934, "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": "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": {}, "created_at": 1724945832.8394186, "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": "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": {}, "created_at": 1724945832.841089, "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": "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": {}, "created_at": 1724945832.8428462, "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": "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": {"alias": "accepted_values_perp_order_com_520837eaa7fef2a6ed5b234803bbef68"}, "created_at": 1724945832.8445106, "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": "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": {}, "created_at": 1724945832.8495593, "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": "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": {"alias": "dbt_utils_accepted_range_perp__2bd7cd1b54563401a47e730ad72fa304"}, "created_at": 1724945832.851265, "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": "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": {}, "created_at": 1724945832.8557158, "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": "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": {"alias": "dbt_utils_accepted_range_perp__73386dea77265be7ba7a4e4b0f91a257"}, "created_at": 1724945832.8576128, "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": "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": {}, "created_at": 1724945832.8618827, "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": "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": {}, "created_at": 1724945832.8636937, "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": "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": {"alias": "accepted_values_perp_order_set_587c17a43051b53793d9fb26645be1a7"}, "created_at": 1724945832.8654027, "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": "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": {}, "created_at": 1724945832.869859, "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": "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": {"alias": "dbt_utils_accepted_range_perp__5b74aa5015b5c0e43f3026781ddfcd29"}, "created_at": 1724945832.8715343, "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": "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": {}, "created_at": 1724945832.8756366, "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": "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": {"alias": "dbt_utils_accepted_range_perp__a7e267fe23da132b4b45576a78a109d9"}, "created_at": 1724945832.8775234, "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": "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": {}, "created_at": 1724945832.8815908, "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": "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": {"alias": "dbt_utils_accepted_range_perp__231f6b536bfcc27fa7f63799bc0ec1bd"}, "created_at": 1724945832.883418, "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": "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": {}, "created_at": 1724945832.8874629, "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": "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": {}, "created_at": 1724945832.8891134, "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": "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": {}, "created_at": 1724945832.8909009, "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": "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": {}, "created_at": 1724945832.892522, "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": "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": {}, "created_at": 1724945832.8941522, "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": "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": {}, "created_at": 1724945832.8958113, "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": "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": {}, "created_at": 1724945832.8979309, "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": "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": {}, "created_at": 1724945832.8995771, "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": "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": {}, "created_at": 1724945832.9012568, "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": "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": {}, "created_at": 1724945832.9028902, "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": "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": {}, "created_at": 1724945832.9045143, "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": "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": {}, "created_at": 1724945832.9063022, "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": "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": {"alias": "accepted_values_perp_market_up_a1dbe54efa2a1b43c36cf0f8336659a3"}, "created_at": 1724945832.9079633, "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": "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": {}, "created_at": 1724945832.912947, "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": "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": {"alias": "dbt_utils_accepted_range_perp__7ac2e63784ecdbee761807171d9c2ec0"}, "created_at": 1724945832.914625, "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": "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": {}, "created_at": 1724945832.9188669, "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": "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": {"alias": "dbt_utils_accepted_range_perp__26da160b4590d4de4ae4a0a27e82a9b6"}, "created_at": 1724945832.9205785, "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": "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": {}, "created_at": 1724945832.9247987, "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": "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": {"alias": "dbt_utils_accepted_range_perp__372aa5f7755fd1c01417f23991a26419"}, "created_at": 1724945832.9264874, "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": "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": {}, "created_at": 1724945832.9306836, "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": "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": {"alias": "dbt_utils_accepted_range_perp__1029f280bf60994fca80a768a3c6e650"}, "created_at": 1724945832.9325266, "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": "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": {}, "created_at": 1724945832.9368508, "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": "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": {"alias": "dbt_utils_accepted_range_perp__ac750db2d65a9dc4aca0786681a29b83"}, "created_at": 1724945832.9388063, "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": "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": {}, "created_at": 1724945832.9431744, "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": "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": {}, "created_at": 1724945832.9448705, "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": "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": {}, "created_at": 1724945832.9466662, "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": "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": {"alias": "not_null_perp_position_liquida_b28667496979508a7c6e6f6dfd67a51c"}, "created_at": 1724945832.948295, "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": "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": {"alias": "dbt_utils_accepted_range_perp__5beb1252c662f50c266e8257a75eef6e"}, "created_at": 1724945832.949949, "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": "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": {}, "created_at": 1724945832.9541757, "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": "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": {"alias": "accepted_values_perp_position__c6beb023579188542a2b190c4dafc057"}, "created_at": 1724945832.9558578, "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": "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": {}, "created_at": 1724945832.960442, "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": "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": {"alias": "not_null_perp_position_liquida_e894eb4d26a331b04c111a86938cef02"}, "created_at": 1724945832.9621336, "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": "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": {"alias": "dbt_utils_accepted_range_perp__e5313268b8184c1a018e9e936b343018"}, "created_at": 1724945832.9637637, "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": "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": {}, "created_at": 1724945832.9680028, "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": "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": {}, "created_at": 1724945832.96967, "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": "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": {}, "created_at": 1724945832.9712932, "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": "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": {}, "created_at": 1724945832.9730697, "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": "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": {"alias": "not_null_perp_account_liquidat_5ca1ee915e50ae956a86376e430f8cc5"}, "created_at": 1724945832.9747987, "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": "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": {"alias": "dbt_utils_accepted_range_perp__495fd8022fca28efa7369745702ee1e0"}, "created_at": 1724945832.9764276, "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": "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": {"alias": "not_null_perp_account_liquidat_3991f363cc656acdc280878f8f73f7f1"}, "created_at": 1724945832.9811356, "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": "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": {}, "created_at": 1724945832.9827616, "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": "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": {"alias": "dbt_utils_accepted_range_perp__7055fc6ee6e88d7be9254461353800e0"}, "created_at": 1724945832.9843955, "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": "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": {"alias": "not_null_perp_account_liquidat_81bfdcccb4ae2bf1afc79e3f88b080cb"}, "created_at": 1724945832.9886653, "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": "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": {}, "created_at": 1724945832.9903398, "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": "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": {"alias": "not_null_perp_account_liquidat_5ac779aa2f2d2fc26bae612c1644eb45"}, "created_at": 1724945832.992025, "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": "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": {"alias": "accepted_values_perp_account_l_be6cdf63ff0398524f7a8387b0f6de61"}, "created_at": 1724945832.9938412, "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": "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": {"alias": "not_null_perp_account_liquidat_7991200a41f198464166c7ad5413bb1f"}, "created_at": 1724945832.99873, "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": "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": {"alias": "not_null_perp_account_liquidat_c09c4b146c41fe063ab18d453eccdf00"}, "created_at": 1724945833.0005739, "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": "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": {}, "created_at": 1724945833.0022485, "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": "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": {}, "created_at": 1724945833.0038831, "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": "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": {}, "created_at": 1724945833.0055485, "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": "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": {"alias": "accepted_values_perp_collatera_0bfcdea7902eaefa8460baeebf9cf0b4"}, "created_at": 1724945833.0071886, "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": "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": {}, "created_at": 1724945833.0118408, "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": "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": {}, "created_at": 1724945833.0135484, "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": "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": {"alias": "dbt_utils_accepted_range_perp__71bcdc49b6c55de5d207b282ee907dda"}, "created_at": 1724945833.01535, "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": "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": {}, "created_at": 1724945833.0195518, "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": "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": {}, "created_at": 1724945833.021257, "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": "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": {}, "created_at": 1724945833.023097, "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": "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": {}, "created_at": 1724945833.0247808, "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": "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": {"alias": "dbt_utils_accepted_range_perp__d327f92360cb6163375dfb4606e9895b"}, "created_at": 1724945833.0264158, "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": "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": {}, "created_at": 1724945833.0310876, "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": "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": {"alias": "not_null_perp_previous_order_e_10da57e3dd965c93c9a634fba1bbc051"}, "created_at": 1724945833.0327845, "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": "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": {}, "created_at": 1724945833.0344067, "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": "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": {}, "created_at": 1724945833.0361404, "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": "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": {}, "created_at": 1724945833.0377762, "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": "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": {}, "created_at": 1724945833.0393875, "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": "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": {"alias": "dbt_utils_accepted_range_perp__38e6da3ddd428a4313493dcf36e342e3"}, "created_at": 1724945833.0410693, "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": "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": {}, "created_at": 1724945833.0455003, "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": "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": {"alias": "accepted_values_perp_previous__f1f85fb8a0fd6aaccd2aa111bbcdd5f5"}, "created_at": 1724945833.0471883, "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": "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": {"alias": "not_null_perp_previous_order_e_fe68f0f2547780fe942fbab172b4b175"}, "created_at": 1724945833.051748, "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": "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": {}, "created_at": 1724945833.0534272, "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": "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": {"alias": "dbt_utils_accepted_range_perp__3acdf241e24b7f7e38734d2bd15a2f07"}, "created_at": 1724945833.055076, "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": "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": {}, "created_at": 1724945833.0594049, "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": "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": {}, "created_at": 1724945833.0610983, "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": "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": {}, "created_at": 1724945833.0627427, "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": "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": {}, "created_at": 1724945833.065094, "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": "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": {}, "created_at": 1724945833.066711, "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": "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": {}, "created_at": 1724945833.0683122, "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": "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": {"alias": "accepted_values_perp_market_cr_7434d6ba85d2b13eddfd543b8ba88517"}, "created_at": 1724945833.070008, "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": "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": {}, "created_at": 1724945833.0747256, "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": "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": {}, "created_at": 1724945833.076409, "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": "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": {}, "created_at": 1724945833.0782106, "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": "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": {}, "created_at": 1724945833.0800333, "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": "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": {"alias": "dbt_utils_accepted_range_perp__0b37a3599eb14cec3c2f3ca072560ad4"}, "created_at": 1724945833.0817833, "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": "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": {}, "created_at": 1724945833.0865972, "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": "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": {}, "created_at": 1724945833.0882843, "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": "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": {"alias": "accepted_values_perp_interest__9a5088d02872b4bc8893361776515557"}, "created_at": 1724945833.0900152, "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": "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": {}, "created_at": 1724945833.0950758, "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": "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": {}, "created_at": 1724945833.0967796, "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": "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": {}, "created_at": 1724945833.098418, "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": "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": {}, "created_at": 1724945833.1000462, "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": "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": {}, "created_at": 1724945833.1018584, "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": "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": {}, "created_at": 1724945833.1034777, "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": "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": {}, "created_at": 1724945833.105096, "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": "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": {"alias": "dbt_utils_accepted_range_perp__4c35ab86852077b43fc01e88f838bea7"}, "created_at": 1724945833.1067398, "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": "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": {"alias": "not_null_perp_interest_rate_up_a5c50f5470a747deccef9af1fc593db4"}, "created_at": 1724945833.1114433, "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": "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": {}, "created_at": 1724945833.1131406, "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": "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": {"alias": "accepted_values_perp_interest__fd8e2c9af9e5c30d7233e0d1058b0255"}, "created_at": 1724945833.1147974, "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": "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": {"alias": "not_null_perp_interest_rate_up_ccdd1d21db3976e0a6d6664759dc9785"}, "created_at": 1724945833.1199079, "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": "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": {}, "created_at": 1724945833.121593, "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": "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": {"alias": "dbt_utils_accepted_range_perp__006ba001f62dfd753ee2519801adcc64"}, "created_at": 1724945833.1232638, "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": "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": {}, "created_at": 1724945833.1278849, "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": "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": {}, "created_at": 1724945833.1295447, "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": "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": {}, "created_at": 1724945833.131311, "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": "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": {}, "created_at": 1724945833.1329973, "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": "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": {"alias": "not_null_perp_interest_rate_up_308696c4605075a9f0960b8219cae796"}, "created_at": 1724945833.134718, "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": "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": {"alias": "dbt_utils_accepted_range_perp__01404a20fe191971a6b2db96b06927ae"}, "created_at": 1724945833.1363661, "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": "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": {}, "created_at": 1724945833.1444547, "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": "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": {}, "created_at": 1724945833.1464765, "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": "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": {}, "created_at": 1724945833.1482618, "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": "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": {}, "created_at": 1724945833.1502464, "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": "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": {}, "created_at": 1724945833.1518679, "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": "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": {}, "created_at": 1724945833.1535847, "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": "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": {"alias": "accepted_values_buyback_proces_8068cd10186cbca1b52cf3e47bbbd6be"}, "created_at": 1724945833.1552796, "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": "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": {}, "created_at": 1724945833.1609864, "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": "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": {}, "created_at": 1724945833.1626751, "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": "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": {}, "created_at": 1724945833.1643069, "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": "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": {"alias": "dbt_utils_accepted_range_buyba_7205bdf024217b749658bf7787b4a0da"}, "created_at": 1724945833.1661787, "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": "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": {}, "created_at": 1724945833.1705477, "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": "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": {"alias": "dbt_utils_accepted_range_buyba_afb70dba74fac398d6e51d33db8447fc"}, "created_at": 1724945833.172364, "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": "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": {}, "created_at": 1724945833.2029445, "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": "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": {}, "created_at": 1724945833.20489, "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": "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": {"alias": "dbt_utils_accepted_range_core__fb024e3fa3982ab93641f21fa4d9026d"}, "created_at": 1724945833.206783, "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": "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": {}, "created_at": 1724945833.2113748, "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": "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": {}, "created_at": 1724945833.2130828, "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": "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": {}, "created_at": 1724945833.2149284, "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": "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": {}, "created_at": 1724945833.2165196, "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": "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": {}, "created_at": 1724945833.2181442, "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": "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": {}, "created_at": 1724945833.2197368, "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": "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": {"alias": "accepted_values_core_account_c_a1256cab63a858b197b78f9432dd8903"}, "created_at": 1724945833.2214727, "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": "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": {}, "created_at": 1724945833.225921, "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": "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": {}, "created_at": 1724945833.2277458, "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": "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": {}, "created_at": 1724945833.2294056, "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": "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": {}, "created_at": 1724945833.2310257, "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": "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": {}, "created_at": 1724945833.2326736, "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": "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": {"alias": "dbt_utils_accepted_range_core__253b9a83002d16c95924abe6f937d846"}, "created_at": 1724945833.2343075, "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": "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": {}, "created_at": 1724945833.2385592, "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": "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": {}, "created_at": 1724945833.2402027, "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": "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": {"alias": "dbt_utils_accepted_range_core__ee84146b3c7f59e069cb06c4866f3afb"}, "created_at": 1724945833.2418635, "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": "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": {}, "created_at": 1724945833.2470913, "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": "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": {}, "created_at": 1724945833.2487562, "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": "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": {}, "created_at": 1724945833.2504952, "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": "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": {}, "created_at": 1724945833.25211, "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": "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": {"alias": "dbt_utils_accepted_range_core__5a9c6563bcebecccc18c3ba5737a8c27"}, "created_at": 1724945833.253765, "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": "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": {}, "created_at": 1724945833.2581046, "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": "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": {}, "created_at": 1724945833.2597265, "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": "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": {"alias": "dbt_utils_accepted_range_core__624bae7a26f389d81fab0e2e4873aba4"}, "created_at": 1724945833.2613876, "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": "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": {}, "created_at": 1724945833.2656486, "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": "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": {"alias": "accepted_values_core_delegatio_6fb7ece242e2fdcc30491b13926793be"}, "created_at": 1724945833.2673373, "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": "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": {}, "created_at": 1724945833.2717476, "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": "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": {}, "created_at": 1724945833.2734685, "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": "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": {}, "created_at": 1724945833.275105, "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": "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": {}, "created_at": 1724945833.276747, "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": "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": {}, "created_at": 1724945833.278496, "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": "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": {"alias": "accepted_values_core_deposited_d2ece9aaf2ead30501daa2b49e21a31c"}, "created_at": 1724945833.2801547, "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": "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": {}, "created_at": 1724945833.2846787, "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": "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": {}, "created_at": 1724945833.2863886, "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": "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": {"alias": "dbt_utils_accepted_range_core__6ca6e9805390c0e9a66c350a39ec9df1"}, "created_at": 1724945833.2880378, "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": "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": {}, "created_at": 1724945833.2923553, "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": "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": {}, "created_at": 1724945833.2940433, "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": "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": {}, "created_at": 1724945833.2956572, "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": "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": {}, "created_at": 1724945833.2972832, "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": "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": {"alias": "dbt_utils_accepted_range_core__73dff824ec86c822b9f44e7920a6345d"}, "created_at": 1724945833.2990146, "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": "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": {}, "created_at": 1724945833.3030813, "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": "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": {}, "created_at": 1724945833.3047438, "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": "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": {}, "created_at": 1724945833.306541, "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": "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": {}, "created_at": 1724945833.308152, "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": "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": {}, "created_at": 1724945833.309839, "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": "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": {"alias": "dbt_utils_accepted_range_core__4e8993cb1da2677e8026b5c779015536"}, "created_at": 1724945833.311475, "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": "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": {}, "created_at": 1724945833.3160095, "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": "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": {}, "created_at": 1724945833.3176823, "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": "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": {"alias": "dbt_utils_accepted_range_core__89c5610ccaa1c6a8b230b4c61815e02e"}, "created_at": 1724945833.3193164, "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": "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": {}, "created_at": 1724945833.323498, "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": "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": {}, "created_at": 1724945833.3252015, "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": "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": {}, "created_at": 1724945833.327509, "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": "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": {}, "created_at": 1724945833.3291783, "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": "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": {"alias": "accepted_values_core_withdrawn_9232007c2d4beca3cf202e40bf1586d8"}, "created_at": 1724945833.3308117, "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": "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": {}, "created_at": 1724945833.335001, "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": "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": {"alias": "dbt_utils_accepted_range_core__888a89f13edea0827880954dcadc49b0"}, "created_at": 1724945833.3367622, "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": "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": {}, "created_at": 1724945833.340943, "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": "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": {}, "created_at": 1724945833.3425918, "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": "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": {}, "created_at": 1724945833.3442664, "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": "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": {}, "created_at": 1724945833.345953, "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": "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": {}, "created_at": 1724945833.3475518, "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": "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": {}, "created_at": 1724945833.349285, "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": "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": {"alias": "accepted_values_core_liquidati_2f8a8c41dad7bc8573be95bdd2240533"}, "created_at": 1724945833.35092, "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": "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": {}, "created_at": 1724945833.3552914, "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": "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": {}, "created_at": 1724945833.3569455, "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": "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": {}, "created_at": 1724945833.3585641, "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": "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": {"alias": "dbt_utils_accepted_range_core__9c86403cb2ee785aa0809eae1dfa9291"}, "created_at": 1724945833.3601887, "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": "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": {}, "created_at": 1724945833.3643312, "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": "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": {}, "created_at": 1724945833.365985, "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": "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": {"alias": "dbt_utils_accepted_range_core__47bddc57664c78a55614ac643ed3ffcf"}, "created_at": 1724945833.3676114, "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": "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": {}, "created_at": 1724945833.3719664, "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": "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": {}, "created_at": 1724945833.3736517, "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": "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": {}, "created_at": 1724945833.3752816, "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": "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": {}, "created_at": 1724945833.3770576, "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": "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": {}, "created_at": 1724945833.3786595, "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": "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": {}, "created_at": 1724945833.380249, "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": "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": {}, "created_at": 1724945833.3818874, "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": "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": {"alias": "accepted_values_core_market_up_8ffc0f692fd38a4fb71d7fad1fdca0f3"}, "created_at": 1724945833.3835006, "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": "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": {}, "created_at": 1724945833.3878727, "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": "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": {"alias": "dbt_utils_accepted_range_core__072d0a3e91e04239f7438a3e2f51a69c"}, "created_at": 1724945833.389574, "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": "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": {}, "created_at": 1724945833.3939123, "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": "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": {"alias": "not_null_core_market_updated_b_b44b760e99c9075cf641955fb1ad1996"}, "created_at": 1724945833.395538, "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": "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": {"alias": "dbt_utils_accepted_range_core__0ebf2739b124eb8dac7f84f98842bbcd"}, "created_at": 1724945833.3971775, "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": "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": {}, "created_at": 1724945833.401426, "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": "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": {}, "created_at": 1724945833.403085, "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": "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": {}, "created_at": 1724945833.4047382, "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": "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": {}, "created_at": 1724945833.4064927, "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": "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": {"alias": "dbt_utils_accepted_range_core__ef8c2ac0471d5e31c631c60851e1a104"}, "created_at": 1724945833.4081194, "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": "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": {}, "created_at": 1724945833.4131243, "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": "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": {}, "created_at": 1724945833.4147768, "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": "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": {}, "created_at": 1724945833.4164214, "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": "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": {}, "created_at": 1724945833.418105, "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": "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": {}, "created_at": 1724945833.4197297, "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": "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": {}, "created_at": 1724945833.4215772, "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": "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": {}, "created_at": 1724945833.4231908, "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": "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": {}, "created_at": 1724945833.4248211, "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": "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": {}, "created_at": 1724945833.42641, "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": "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": {}, "created_at": 1724945833.4280043, "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": "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": {"alias": "accepted_values_core_market_re_7d22dc7014c15a24d3a378934a783186"}, "created_at": 1724945833.4297884, "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": "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": {}, "created_at": 1724945833.4342284, "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": "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": {}, "created_at": 1724945833.4360614, "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": "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": {}, "created_at": 1724945833.4377189, "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": "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": {}, "created_at": 1724945833.4393225, "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": "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": {}, "created_at": 1724945833.4409382, "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": "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": {}, "created_at": 1724945833.4426234, "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": "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": {}, "created_at": 1724945833.4443579, "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": "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": {}, "created_at": 1724945833.4460201, "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": "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": {}, "created_at": 1724945833.4476264, "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": "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": {"alias": "accepted_values_core_pool_crea_bdbd8829aa1ff5cab82d34c5df5684cd"}, "created_at": 1724945833.4492548, "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": "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": {}, "created_at": 1724945833.453607, "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": "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": {}, "created_at": 1724945833.4552367, "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": "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": {"alias": "dbt_utils_accepted_range_core__d8e8bea5c4b2354e7f869cd680bd68b7"}, "created_at": 1724945833.4568927, "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": "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": {}, "created_at": 1724945833.4611487, "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": "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": {}, "created_at": 1724945833.4627993, "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": "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": {"alias": "dbt_utils_accepted_range_core__2ac3bbca2e87763cd3aa7b60a2711897"}, "created_at": 1724945833.4644341, "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": "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": {}, "created_at": 1724945833.4688284, "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": "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": {}, "created_at": 1724945833.4704957, "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": "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": {"alias": "accepted_values_core_rewards_c_aad60da75a6038cc74207493be039974"}, "created_at": 1724945833.4722712, "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": "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": {}, "created_at": 1724945833.4763129, "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": "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": {}, "created_at": 1724945833.4780204, "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": "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": {"alias": "dbt_utils_accepted_range_core__b1c522fbe833ee75b2877e8459f86cca"}, "created_at": 1724945833.4799116, "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": "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": {}, "created_at": 1724945833.4839454, "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": "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": {}, "created_at": 1724945833.485757, "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": "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": {}, "created_at": 1724945833.4873908, "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": "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": {}, "created_at": 1724945833.4890037, "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": "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": {}, "created_at": 1724945833.49062, "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": "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": {"alias": "dbt_utils_accepted_range_core__feee96e2415d527613f8844cc4624c65"}, "created_at": 1724945833.4922423, "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": "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": {}, "created_at": 1724945833.4967842, "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": "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": {}, "created_at": 1724945833.4984663, "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": "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": {}, "created_at": 1724945833.5008063, "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": "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": {}, "created_at": 1724945833.5024703, "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": "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": {"alias": "accepted_values_core_rewards_d_84b0fa070897af09099b10595ee397ae"}, "created_at": 1724945833.50411, "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": "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": {}, "created_at": 1724945833.586774, "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": "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": {"alias": "dbt_utils_accepted_range_core__c3d16b83384c2504d670e69fb4931d89"}, "created_at": 1724945833.5887225, "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": "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": {}, "created_at": 1724945833.593621, "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": "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": {}, "created_at": 1724945833.5953743, "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": "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": {}, "created_at": 1724945833.5970867, "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": "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": {}, "created_at": 1724945833.5988753, "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": "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": {}, "created_at": 1724945833.6005278, "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": "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": {}, "created_at": 1724945833.6022074, "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": "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": {"alias": "dbt_utils_accepted_range_core__5f1c37222733408e1c709a047f319d20"}, "created_at": 1724945833.6038492, "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": "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": {}, "created_at": 1724945833.6083553, "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": "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": {}, "created_at": 1724945833.6100273, "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": "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": {"alias": "dbt_utils_accepted_range_core__36fc9dfe3b15217319d5fd29c4d3d7a4"}, "created_at": 1724945833.611672, "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": "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": {}, "created_at": 1724945833.61613, "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": "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": {"alias": "dbt_utils_accepted_range_core__fa0ed60eafe37b04ad128d3b911d6149"}, "created_at": 1724945833.6178334, "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": "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": {}, "created_at": 1724945833.6222591, "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": "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": {"alias": "dbt_utils_accepted_range_core__63101afe87b50f579e2db7cc4c5329b8"}, "created_at": 1724945833.6240067, "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": "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": {}, "created_at": 1724945833.6289241, "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": "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": {"alias": "accepted_values_core_usd_burne_6c46cbac385294db7e70f471efaa5ca8"}, "created_at": 1724945833.6306217, "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": "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": {}, "created_at": 1724945833.6351402, "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": "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": {}, "created_at": 1724945833.6369064, "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": "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": {}, "created_at": 1724945833.6385772, "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": "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": {}, "created_at": 1724945833.6402218, "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": "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": {"alias": "dbt_utils_accepted_range_core__a1c22aa1af42c6708c0439995bac0e8a"}, "created_at": 1724945833.64202, "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": "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": {}, "created_at": 1724945833.646309, "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": "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": {}, "created_at": 1724945833.6481647, "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": "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": {}, "created_at": 1724945833.649858, "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": "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": {}, "created_at": 1724945833.6515083, "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": "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": {}, "created_at": 1724945833.6531756, "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": "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": {}, "created_at": 1724945833.6548111, "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": "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": {"alias": "dbt_utils_accepted_range_core__7e7963d46f2c6d05d90cee3851af4c4f"}, "created_at": 1724945833.6565754, "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": "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": {}, "created_at": 1724945833.6611226, "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": "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": {}, "created_at": 1724945833.6629512, "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": "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": {"alias": "dbt_utils_accepted_range_core__14bb4889df60650f86384669233cdfc3"}, "created_at": 1724945833.6646008, "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": "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": {}, "created_at": 1724945833.6689067, "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": "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": {}, "created_at": 1724945833.671398, "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": "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": {}, "created_at": 1724945833.6730502, "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": "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": {}, "created_at": 1724945833.674666, "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": "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": {}, "created_at": 1724945833.6762767, "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": "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": {}, "created_at": 1724945833.6780455, "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": "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": {"alias": "dbt_utils_accepted_range_core__2d2cd96f455068e88f22556076aa5a56"}, "created_at": 1724945833.679693, "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": "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": {}, "created_at": 1724945833.6846404, "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": "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": {"alias": "accepted_values_core_usd_minte_a62ddc156bda3c5e30f190584fdb834e"}, "created_at": 1724945833.6864028, "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": "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": {}, "created_at": 1724945833.690922, "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": "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": {}, "created_at": 1724945833.6928113, "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": "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": {}, "created_at": 1724945833.694466, "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": "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": {}, "created_at": 1724945833.696101, "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": "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": {}, "created_at": 1724945833.6977446, "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": "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": {"alias": "dbt_utils_accepted_range_core__51f9fca6491d2ad8559f025743537402"}, "created_at": 1724945833.699484, "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": "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": {}, "created_at": 1724945833.7038603, "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": "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": {"alias": "accepted_values_core_vault_liq_45a427ac84df0810a91900c306041b2b"}, "created_at": 1724945833.705567, "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": "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": {}, "created_at": 1724945833.709949, "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": "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": {}, "created_at": 1724945833.7116475, "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": "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": {}, "created_at": 1724945833.713531, "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": "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": {"alias": "not_null_core_vault_liquidatio_6fe91ed14b6a60a8f687ff86b3046408"}, "created_at": 1724945833.7153397, "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": "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": {"alias": "dbt_utils_accepted_range_core__aecdb6e1634e2b861870dc60d37cf98c"}, "created_at": 1724945833.7170804, "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": "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": {}, "created_at": 1724945833.7220342, "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": "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": {}, "created_at": 1724945833.7237022, "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": "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": {}, "created_at": 1724945833.7253678, "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": "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": {}, "created_at": 1724945833.7270222, "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": "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": {}, "created_at": 1724945833.7288017, "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": "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": {}, "created_at": 1724945833.7305417, "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": "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": {}, "created_at": 1724945833.7321703, "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": "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": {"alias": "dbt_utils_accepted_range_core__b6577276631f758181334c9490e0d1f2"}, "created_at": 1724945833.733829, "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": "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": {}, "created_at": 1724945833.738441, "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": "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": {}, "created_at": 1724945833.7401135, "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": "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": {"alias": "dbt_utils_accepted_range_core__3ce6f9d55bc6a557e5bfd2630704f435"}, "created_at": 1724945833.741836, "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": "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": {}, "created_at": 1724945833.746533, "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": "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": {"alias": "dbt_utils_accepted_range_core__a777d371e2bd5b2327d43f495fd10adc"}, "created_at": 1724945833.7482154, "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": "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": {}, "created_at": 1724945833.7526715, "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": "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": {}, "created_at": 1724945833.754342, "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": "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": {}, "created_at": 1724945833.7559886, "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": "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": {}, "created_at": 1724945833.7582858, "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": "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": {"alias": "dbt_utils_accepted_range_core__79fc7758f49cfa3d2f7a491a9fca71a4"}, "created_at": 1724945833.7599306, "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": "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": {}, "created_at": 1724945833.7643607, "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": "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": {}, "created_at": 1724945833.7662547, "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": "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": {}, "created_at": 1724945833.7678962, "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": "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": {}, "created_at": 1724945833.7844255, "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": "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": {}, "created_at": 1724945833.7862384, "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": "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": {}, "created_at": 1724945833.7878761, "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": "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": {"alias": "accepted_values_spot_order_com_4c433d07e02d38aa839b7507d28bfcd9"}, "created_at": 1724945833.7897, "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": "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": {}, "created_at": 1724945833.7940874, "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": "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": {}, "created_at": 1724945833.7957284, "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": "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": {}, "created_at": 1724945833.7975645, "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": "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": {}, "created_at": 1724945833.7991924, "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": "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": {"alias": "dbt_utils_accepted_range_spot__a02cf2343cb17dff85dc6395f9049952"}, "created_at": 1724945833.8008802, "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": "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": {}, "created_at": 1724945833.8052862, "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": "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": {}, "created_at": 1724945833.8069334, "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": "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": {}, "created_at": 1724945833.8085268, "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": "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": {"alias": "dbt_utils_accepted_range_spot__65d3e3580b09d62b0665c39e0dd6b655"}, "created_at": 1724945833.8101988, "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": "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": {}, "created_at": 1724945833.8144848, "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": "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": {}, "created_at": 1724945833.816132, "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": "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": {"alias": "dbt_utils_accepted_range_spot__aea7b1bee7446de9ad2a7c38052a0c1b"}, "created_at": 1724945833.8179274, "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": "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": {}, "created_at": 1724945833.8219697, "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": "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": {}, "created_at": 1724945833.8236, "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": "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": {}, "created_at": 1724945833.8254309, "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": "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": {}, "created_at": 1724945833.8271852, "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": "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": {}, "created_at": 1724945833.828844, "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": "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": {}, "created_at": 1724945833.8304665, "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": "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": {}, "created_at": 1724945833.8321874, "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": "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": {}, "created_at": 1724945833.8338296, "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": "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": {}, "created_at": 1724945833.8354685, "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": "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": {"alias": "dbt_utils_accepted_range_spot__8d96f308a14c2fcecde8c2bb1366d4b7"}, "created_at": 1724945833.837173, "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": "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": {}, "created_at": 1724945833.8416443, "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": "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": {"alias": "dbt_utils_accepted_range_spot__584d45f3a8837e04a304f44a0b6d6352"}, "created_at": 1724945833.843286, "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": "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": {}, "created_at": 1724945833.8481169, "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": "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": {"alias": "dbt_utils_accepted_range_spot__4bab578943a7ebfec47867006c5ba2c0"}, "created_at": 1724945833.8498085, "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": "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": {}, "created_at": 1724945833.8540056, "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": "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": {"alias": "accepted_values_spot_order_set_c626d10dbdef75cbd4bd6eb843c8cf29"}, "created_at": 1724945833.855657, "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": "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": {}, "created_at": 1724945833.85978, "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": "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": {}, "created_at": 1724945833.8614414, "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": "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": {}, "created_at": 1724945833.863055, "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": "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": {}, "created_at": 1724945833.8647046, "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": "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": {}, "created_at": 1724945833.8664274, "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": "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": {}, "created_at": 1724945833.868048, "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": "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": {}, "created_at": 1724945833.8696876, "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": "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": {"alias": "accepted_values_spot_order_can_0445d0d0a5554ede316ae609adf168f1"}, "created_at": 1724945833.871327, "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": "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": {}, "created_at": 1724945833.875693, "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": "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": {"alias": "dbt_utils_accepted_range_spot__3a40fbba6ab3616b984b245c89d7dbfe"}, "created_at": 1724945833.87737, "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": "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": {}, "created_at": 1724945833.8815882, "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": "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": {}, "created_at": 1724945833.883233, "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": "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": {}, "created_at": 1724945833.8848798, "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": "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": {}, "created_at": 1724945833.886492, "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": "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": {}, "created_at": 1724945833.8882353, "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": "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": {"alias": "dbt_utils_accepted_range_spot__ccae977edf5724b7ce9a1f918e477245"}, "created_at": 1724945833.8898902, "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": "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": {}, "created_at": 1724945833.8940475, "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": "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": {}, "created_at": 1724945833.8956926, "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": "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": {}, "created_at": 1724945833.8973598, "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": "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": {}, "created_at": 1724945833.89898, "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": "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": {"alias": "accepted_values_spot_synth_reg_3920d4f5f9000c77b7e57edd1215082f"}, "created_at": 1724945833.900594, "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": "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": {}, "created_at": 1724945833.9048266, "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": "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": {}, "created_at": 1724945833.9064786, "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": "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": {"alias": "dbt_utils_accepted_range_spot__f3e751dfd2dc590260940c7b6ee31646"}, "created_at": 1724945833.908232, "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": "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": {}, "created_at": 1724945833.9122915, "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": "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": {}, "created_at": 1724945833.9141178, "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": "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": {"alias": "dbt_utils_accepted_range_spot__2d95324b7c4d22cc127b07539bade00d"}, "created_at": 1724945833.9157665, "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": "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": {}, "created_at": 1724945833.9198198, "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": "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": {}, "created_at": 1724945833.9216378, "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": "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": {}, "created_at": 1724945833.9232426, "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": "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": {}, "created_at": 1724945833.92486, "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": "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": {}, "created_at": 1724945833.9264648, "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": "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": {"alias": "dbt_utils_accepted_range_spot__0427270c22e9a0d08a1ac96e1fd2383a"}, "created_at": 1724945833.9287717, "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": "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": {}, "created_at": 1724945833.9329693, "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": "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": {}, "created_at": 1724945833.9346344, "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": "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": {}, "created_at": 1724945833.9364696, "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": "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": {"alias": "accepted_values_spot_synth_bou_a55733eb176c0d23184e39c1d58c98e5"}, "created_at": 1724945833.9381497, "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": "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": {}, "created_at": 1724945833.9425058, "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": "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": {"alias": "accepted_values_spot_synth_sol_89dd9a47ec996eaf7ec5b9a35c28d020"}, "created_at": 1724945833.944179, "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": "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": {}, "created_at": 1724945833.9484372, "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": "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": {}, "created_at": 1724945833.9501426, "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": "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": {"alias": "dbt_utils_accepted_range_spot__869a9b7964b126ecc6b81ac7e9732147"}, "created_at": 1724945833.9518192, "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": "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": {}, "created_at": 1724945833.9560425, "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": "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": {}, "created_at": 1724945833.9577043, "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": "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": {}, "created_at": 1724945833.9593287, "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": "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": {}, "created_at": 1724945833.9609754, "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": "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": {"alias": "dbt_utils_accepted_range_spot__102836450220e70de6301980e5d5950a"}, "created_at": 1724945833.9627352, "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": "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": {}, "created_at": 1724945833.9672987, "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": "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": {"alias": "dbt_utils_accepted_range_spot__6b757397105f64d96d8f1df579ff67af"}, "created_at": 1724945833.9692082, "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": "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": {}, "created_at": 1724945833.9734795, "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": "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": {"alias": "dbt_utils_accepted_range_spot__709479046502cb2d832f1681b840dc68"}, "created_at": 1724945833.9751332, "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": "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": {}, "created_at": 1724945833.979548, "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": "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": {}, "created_at": 1724945833.9812503, "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": "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": {}, "created_at": 1724945833.9831588, "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": "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": {}, "created_at": 1724945833.9848425, "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": "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": {}, "created_at": 1724945833.9864862, "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": "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": {}, "created_at": 1724945833.988107, "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": "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": {}, "created_at": 1724945833.9897697, "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": "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": {"alias": "dbt_utils_accepted_range_spot__54093ccd823429dbfa551dd083c43381"}, "created_at": 1724945833.9914844, "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": "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": {}, "created_at": 1724945833.9959238, "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": "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": {}, "created_at": 1724945833.9980922, "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": "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": {"alias": "accepted_values_spot_synth_wra_37b6ba7e578861182698bcc3fa863c97"}, "created_at": 1724945833.999769, "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": "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": {}, "created_at": 1724945834.0038261, "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": "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": {}, "created_at": 1724945834.0056794, "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": "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": {}, "created_at": 1724945834.0073214, "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": "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": {"alias": "dbt_utils_accepted_range_spot__b37085988ce7eb72a15d977d1710fe8c"}, "created_at": 1724945834.0089917, "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": "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": {}, "created_at": 1724945834.0136547, "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": "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": {}, "created_at": 1724945834.0153153, "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": "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": {"alias": "dbt_utils_accepted_range_spot__00502a3092faf88f9c4cf1c70e3ecabb"}, "created_at": 1724945834.0169756, "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": "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": {}, "created_at": 1724945834.021532, "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": "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": {"alias": "dbt_utils_accepted_range_spot__cad30ffa5fa2a073ff58756383e7e777"}, "created_at": 1724945834.0240107, "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": "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": {}, "created_at": 1724945834.0285604, "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": "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": {"alias": "accepted_values_spot_synth_unw_92fd6cebfb41d6dc648b4b6e6220b046"}, "created_at": 1724945834.030296, "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": "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": {}, "created_at": 1724945834.0345013, "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": "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": {}, "created_at": 1724945834.0361576, "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": "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": {}, "created_at": 1724945834.0378342, "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": "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": {}, "created_at": 1724945834.0394633, "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": "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": {}, "created_at": 1724945834.0412548, "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": "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": {}, "created_at": 1724945834.0428805, "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": "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": {"alias": "dbt_utils_accepted_range_spot__8e5e66ec037d024a9853963d0b4aaac2"}, "created_at": 1724945834.044505, "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": "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": {}, "created_at": 1724945834.049978, "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": "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": {}, "created_at": 1724945834.0516243, "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": "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": {}, "created_at": 1724945834.0534003, "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": "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": {}, "created_at": 1724945834.0776198, "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": "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": {}, "created_at": 1724945834.0793917, "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": "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": {}, "created_at": 1724945834.0811849, "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": "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": {"alias": "accepted_values_perp_account_c_0df2eed834318151661d6fb3bb9d3b0f"}, "created_at": 1724945834.0828714, "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": "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": {}, "created_at": 1724945834.0875876, "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": "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": {}, "created_at": 1724945834.089291, "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": "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": {}, "created_at": 1724945834.0909002, "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": "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": {}, "created_at": 1724945834.0925055, "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": "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": {"alias": "dbt_utils_accepted_range_perp__f2ccc70c56fd6122b82f3cdb3006994e"}, "created_at": 1724945834.0941849, "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": "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": {}, "created_at": 1724945834.0993366, "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": "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": {}, "created_at": 1724945834.1014118, "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": "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": {}, "created_at": 1724945834.103086, "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": "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": {}, "created_at": 1724945834.1049154, "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": "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": {}, "created_at": 1724945834.1065414, "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": "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": {}, "created_at": 1724945834.1081488, "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": "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": {}, "created_at": 1724945834.1097913, "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": "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": {}, "created_at": 1724945834.111491, "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": "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": {}, "created_at": 1724945834.1131608, "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": "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": {"alias": "accepted_values_perp_order_com_b53fd8aed05d75151e18f1149c77d2ba"}, "created_at": 1724945834.1148243, "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": "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": {}, "created_at": 1724945834.1195598, "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": "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": {"alias": "dbt_utils_accepted_range_perp__128e9e7163cc2e42c8b52ec3fcb1fd6b"}, "created_at": 1724945834.1213598, "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": "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": {}, "created_at": 1724945834.126459, "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": "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": {"alias": "dbt_utils_accepted_range_perp__32bff774279ea000b047c8cebe75f284"}, "created_at": 1724945834.1282613, "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": "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": {}, "created_at": 1724945834.1325858, "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": "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": {}, "created_at": 1724945834.13437, "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": "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": {"alias": "accepted_values_perp_order_set_5099c7fdf58fd29a12dfcb88b71da723"}, "created_at": 1724945834.13604, "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": "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": {}, "created_at": 1724945834.1404312, "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": "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": {"alias": "dbt_utils_accepted_range_perp__c19fd149c08ec64755e6ad4613b88dd7"}, "created_at": 1724945834.142126, "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": "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": {}, "created_at": 1724945834.1463847, "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": "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": {"alias": "dbt_utils_accepted_range_perp__b454dfc80e6800727e2855b12c0a2d02"}, "created_at": 1724945834.1480823, "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": "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": {}, "created_at": 1724945834.1529238, "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": "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": {"alias": "dbt_utils_accepted_range_perp__a9692fd23ce53b0aca9b4f2d1cc10df5"}, "created_at": 1724945834.1546545, "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": "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": {}, "created_at": 1724945834.159549, "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": "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": {}, "created_at": 1724945834.1612856, "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": "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": {}, "created_at": 1724945834.1628995, "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": "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": {}, "created_at": 1724945834.1644983, "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": "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": {}, "created_at": 1724945834.1661046, "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": "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": {}, "created_at": 1724945834.1678178, "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": "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": {}, "created_at": 1724945834.1694245, "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": "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": {}, "created_at": 1724945834.171, "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": "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": {}, "created_at": 1724945834.172593, "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": "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": {}, "created_at": 1724945834.1743364, "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": "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": {}, "created_at": 1724945834.1759505, "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": "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": {}, "created_at": 1724945834.1776013, "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": "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": {"alias": "accepted_values_perp_market_up_ca05ad7cd3f28a4fb6cce4c337cdbbd6"}, "created_at": 1724945834.1792808, "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": "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": {}, "created_at": 1724945834.1848848, "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": "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": {"alias": "dbt_utils_accepted_range_perp__1f89c9bf58cb645a7ad32435c8ea54ba"}, "created_at": 1724945834.1865456, "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": "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": {}, "created_at": 1724945834.1909273, "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": "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": {"alias": "dbt_utils_accepted_range_perp__962702eb1b8cc78c3e3273f03d6bdf84"}, "created_at": 1724945834.1925974, "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": "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": {}, "created_at": 1724945834.196825, "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": "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": {"alias": "dbt_utils_accepted_range_perp__082778f8edfaff850195781d5ee1fef0"}, "created_at": 1724945834.1984868, "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": "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": {}, "created_at": 1724945834.2027054, "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": "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": {"alias": "dbt_utils_accepted_range_perp__e9248f5179d5c8ee4dde26ada955e6de"}, "created_at": 1724945834.2043686, "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": "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": {}, "created_at": 1724945834.2085524, "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": "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": {"alias": "dbt_utils_accepted_range_perp__238caaa4c9da525973e0ffdf11d7962f"}, "created_at": 1724945834.2102637, "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": "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": {}, "created_at": 1724945834.2146099, "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": "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": {}, "created_at": 1724945834.2162924, "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": "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": {}, "created_at": 1724945834.2179615, "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": "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": {"alias": "not_null_perp_position_liquida_f43c3b03bc780f5f29cf4d5d62fa0760"}, "created_at": 1724945834.2196066, "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": "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": {"alias": "dbt_utils_accepted_range_perp__71f814ad6975e1687f0021bd06fdd301"}, "created_at": 1724945834.2212486, "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": "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": {}, "created_at": 1724945834.2257073, "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": "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": {"alias": "accepted_values_perp_position__02724455b21e167f5f8636cd46a2fb74"}, "created_at": 1724945834.2273707, "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": "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": {}, "created_at": 1724945834.2319753, "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": "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": {"alias": "not_null_perp_position_liquida_f1dc08d150cabf234a05a9e18e0a3f4e"}, "created_at": 1724945834.2336855, "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": "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": {"alias": "dbt_utils_accepted_range_perp__d44e36b4e9777c29a7cbc92e9f91ef6f"}, "created_at": 1724945834.2354023, "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": "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": {}, "created_at": 1724945834.2397907, "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": "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": {}, "created_at": 1724945834.2414498, "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": "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": {}, "created_at": 1724945834.243094, "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": "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": {}, "created_at": 1724945834.2449226, "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": "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": {"alias": "not_null_perp_account_liquidat_7425045e61c0e9f721ff1e0c8c42cc33"}, "created_at": 1724945834.2465887, "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": "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": {"alias": "dbt_utils_accepted_range_perp__de3912ca0eeebc30d0bd44a0e1324f6e"}, "created_at": 1724945834.2482076, "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": "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": {"alias": "not_null_perp_account_liquidat_f30b280f2a8fcd7526653cd4fcb20ab9"}, "created_at": 1724945834.2528217, "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": "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": {}, "created_at": 1724945834.254455, "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": "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": {"alias": "dbt_utils_accepted_range_perp__163bbc57a8dc9538aa2432e5b8005522"}, "created_at": 1724945834.2560973, "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": "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": {"alias": "not_null_perp_account_liquidat_ef6e9d962c8f62d80fbce53e767de544"}, "created_at": 1724945834.2602744, "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": "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": {}, "created_at": 1724945834.2619467, "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": "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": {"alias": "not_null_perp_account_liquidat_6a9bdb905f130851e6f1770ae67db387"}, "created_at": 1724945834.2635713, "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": "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": {"alias": "accepted_values_perp_account_l_67eca61ac1b5aae2bd26cd263656e075"}, "created_at": 1724945834.265991, "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": "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": {"alias": "not_null_perp_account_liquidat_11cab9b0e41c1ca8db32ddae42bfb3f6"}, "created_at": 1724945834.2699952, "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": "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": {"alias": "not_null_perp_account_liquidat_1ee4bf4dc8f47c61291654f150f2e068"}, "created_at": 1724945834.2716253, "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": "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": {}, "created_at": 1724945834.2734427, "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": "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": {}, "created_at": 1724945834.2751036, "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": "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": {}, "created_at": 1724945834.2767963, "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": "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": {"alias": "accepted_values_perp_collatera_4aa5a3b1883058d72748a519b4a291f7"}, "created_at": 1724945834.2784455, "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": "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": {}, "created_at": 1724945834.2828193, "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": "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": {}, "created_at": 1724945834.2844625, "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": "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": {"alias": "dbt_utils_accepted_range_perp__f5c3aec99c1be7b2af186f36b87ce820"}, "created_at": 1724945834.2861335, "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": "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": {}, "created_at": 1724945834.2903476, "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": "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": {}, "created_at": 1724945834.2919881, "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": "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": {}, "created_at": 1724945834.293779, "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": "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": {}, "created_at": 1724945834.295426, "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": "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": {"alias": "dbt_utils_accepted_range_perp__b545f062eb0610bae8a1add02d198b2f"}, "created_at": 1724945834.297088, "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": "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": {}, "created_at": 1724945834.301312, "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": "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": {"alias": "not_null_perp_previous_order_e_a6874c0dda750d58015d0a2ec6c1340d"}, "created_at": 1724945834.302996, "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": "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": {}, "created_at": 1724945834.3046765, "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": "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": {}, "created_at": 1724945834.3063762, "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": "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": {}, "created_at": 1724945834.3081574, "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": "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": {}, "created_at": 1724945834.309912, "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": "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": {"alias": "dbt_utils_accepted_range_perp__9395ead0982c35ab3dce9e81e002ce88"}, "created_at": 1724945834.3115792, "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": "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": {}, "created_at": 1724945834.316284, "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": "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": {"alias": "accepted_values_perp_previous__924b97398579b32f41492d0a8a89a41e"}, "created_at": 1724945834.3180766, "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": "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": {"alias": "not_null_perp_previous_order_e_e38903d61a1ff0cf57766e5049ddde82"}, "created_at": 1724945834.3223777, "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": "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": {}, "created_at": 1724945834.3240027, "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": "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": {"alias": "dbt_utils_accepted_range_perp__f3628702694c24e67ee15061ee68a534"}, "created_at": 1724945834.3256912, "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": "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": {}, "created_at": 1724945834.330088, "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": "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": {}, "created_at": 1724945834.3317232, "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": "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": {}, "created_at": 1724945834.333376, "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": "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": {}, "created_at": 1724945834.3349936, "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": "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": {}, "created_at": 1724945834.3368084, "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": "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": {}, "created_at": 1724945834.3384473, "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": "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": {"alias": "accepted_values_perp_market_cr_b60bbfed45b45d6f23aef96b3bd0d35c"}, "created_at": 1724945834.3401837, "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": "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": {}, "created_at": 1724945834.3449757, "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": "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": {}, "created_at": 1724945834.3466547, "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": "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": {}, "created_at": 1724945834.3482814, "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": "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": {}, "created_at": 1724945834.3506117, "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": "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": {"alias": "dbt_utils_accepted_range_perp__6ddccf3112e80ef886edae57ff38daa3"}, "created_at": 1724945834.3522432, "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": "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": {}, "created_at": 1724945834.3564436, "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": "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": {}, "created_at": 1724945834.3583074, "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": "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": {"alias": "accepted_values_perp_interest__229673e7ed7cad4e966a1e3e27b5f808"}, "created_at": 1724945834.3599553, "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": "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": {}, "created_at": 1724945834.3641272, "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": "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": {}, "created_at": 1724945834.3658373, "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": "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": {}, "created_at": 1724945834.3675199, "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": "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": {}, "created_at": 1724945834.3692164, "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": "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": {}, "created_at": 1724945834.3708398, "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": "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": {}, "created_at": 1724945834.3725939, "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": "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": {}, "created_at": 1724945834.3742487, "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": "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": {"alias": "dbt_utils_accepted_range_perp__a231ce38ffc5928ab779f075323dcb4d"}, "created_at": 1724945834.3758872, "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": "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": {"alias": "not_null_perp_interest_rate_up_fee36b14df770498ea315ef2b3a75182"}, "created_at": 1724945834.3804858, "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": "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": {}, "created_at": 1724945834.3821797, "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": "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": {"alias": "accepted_values_perp_interest__03eef0b63f71cd3c0c9a527343a0518f"}, "created_at": 1724945834.3838313, "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": "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": {"alias": "not_null_perp_interest_rate_up_fa062a57a8dbd18074c526d583abb4ae"}, "created_at": 1724945834.3880558, "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": "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": {}, "created_at": 1724945834.3896983, "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": "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": {"alias": "dbt_utils_accepted_range_perp__0e3a28ddf01309c6736ad211d083eb1a"}, "created_at": 1724945834.391317, "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": "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": {}, "created_at": 1724945834.39549, "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": "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": {}, "created_at": 1724945834.3972485, "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": "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": {}, "created_at": 1724945834.398933, "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": "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": {}, "created_at": 1724945834.4007647, "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": "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": {"alias": "not_null_perp_interest_rate_up_4db0f289bb45575dc6d471b64ca8bdeb"}, "created_at": 1724945834.4023952, "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": "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": {"alias": "dbt_utils_accepted_range_perp__1f410c4654f898aaeb357aba5018fb9c"}, "created_at": 1724945834.404003, "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": "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": {}, "created_at": 1724945834.410537, "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": "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": {}, "created_at": 1724945834.4121916, "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": "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": {}, "created_at": 1724945834.4138517, "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": "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": {}, "created_at": 1724945834.4156673, "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": "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": {}, "created_at": 1724945834.4173691, "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": "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": {}, "created_at": 1724945834.4190352, "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": "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": {"alias": "accepted_values_buyback_proces_278b574eac2c05984e56351d66a915ac"}, "created_at": 1724945834.420778, "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": "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": {}, "created_at": 1724945834.4249876, "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": "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": {}, "created_at": 1724945834.4266737, "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": "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": {}, "created_at": 1724945834.4283252, "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": "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": {"alias": "dbt_utils_accepted_range_buyba_8430c2349004ae4699c6275eda5a9b16"}, "created_at": 1724945834.430218, "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": "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": {}, "created_at": 1724945834.4347112, "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": "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": {"alias": "dbt_utils_accepted_range_buyba_4c16679cd6617813c00fd0278fc36e29"}, "created_at": 1724945834.4363668, "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": "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": {}, "created_at": 1724945834.467066, "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": "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": {}, "created_at": 1724945834.4688995, "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": "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": {"alias": "dbt_utils_accepted_range_core__eab389880894a47bfee753ee70198494"}, "created_at": 1724945834.4705436, "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": "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": {}, "created_at": 1724945834.4749653, "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": "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": {}, "created_at": 1724945834.4766805, "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": "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": {}, "created_at": 1724945834.4785, "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": "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": {}, "created_at": 1724945834.4801092, "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": "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": {}, "created_at": 1724945834.4817317, "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": "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": {}, "created_at": 1724945834.4833434, "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": "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": {"alias": "accepted_values_core_account_c_3e560a33ed75ab9f3872a29c8a231ca8"}, "created_at": 1724945834.4850848, "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": "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": {}, "created_at": 1724945834.4896336, "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": "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": {}, "created_at": 1724945834.491329, "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": "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": {}, "created_at": 1724945834.4932432, "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": "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": {}, "created_at": 1724945834.4948943, "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": "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": {}, "created_at": 1724945834.4965174, "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": "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": {"alias": "dbt_utils_accepted_range_core__b285d1683b541821a1af29f6f7139b36"}, "created_at": 1724945834.498178, "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": "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": {}, "created_at": 1724945834.502808, "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": "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": {}, "created_at": 1724945834.504418, "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": "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": {"alias": "dbt_utils_accepted_range_core__ec287bdbeb3be735d4aeade13621291c"}, "created_at": 1724945834.5060766, "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": "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": {}, "created_at": 1724945834.5102804, "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": "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": {}, "created_at": 1724945834.511911, "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": "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": {}, "created_at": 1724945834.5135393, "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": "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": {}, "created_at": 1724945834.5152597, "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": "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": {"alias": "dbt_utils_accepted_range_core__132ab4d1c8172ce2cb80905b0a0c3cdc"}, "created_at": 1724945834.516919, "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": "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": {}, "created_at": 1724945834.5218313, "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": "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": {}, "created_at": 1724945834.523573, "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": "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": {"alias": "dbt_utils_accepted_range_core__abb1b0bc7f310977dda9900b3a5b48d9"}, "created_at": 1724945834.5253625, "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": "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": {}, "created_at": 1724945834.5303895, "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": "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": {"alias": "accepted_values_core_delegatio_3cc50a9d03b2fc3894884bfb42b624bd"}, "created_at": 1724945834.5320902, "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": "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": {}, "created_at": 1724945834.5367923, "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": "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": {}, "created_at": 1724945834.5385125, "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": "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": {}, "created_at": 1724945834.540138, "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": "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": {}, "created_at": 1724945834.5417845, "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": "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": {}, "created_at": 1724945834.5434146, "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": "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": {"alias": "accepted_values_core_deposited_3f28be051707e07ce49c471e6d63c3f3"}, "created_at": 1724945834.5451887, "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": "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": {}, "created_at": 1724945834.5496087, "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": "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": {}, "created_at": 1724945834.5514026, "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": "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": {"alias": "dbt_utils_accepted_range_core__736987a49cbb6d26a37612d9e59d0559"}, "created_at": 1724945834.5530849, "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": "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": {}, "created_at": 1724945834.5579615, "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": "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": {}, "created_at": 1724945834.5596907, "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": "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": {}, "created_at": 1724945834.5614092, "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": "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": {}, "created_at": 1724945834.5631413, "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": "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": {"alias": "dbt_utils_accepted_range_core__90930c81d4f99b4175faf8c7a85c04c6"}, "created_at": 1724945834.5648253, "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": "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": {}, "created_at": 1724945834.5694988, "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": "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": {}, "created_at": 1724945834.5711672, "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": "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": {}, "created_at": 1724945834.5728405, "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": "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": {}, "created_at": 1724945834.5746338, "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": "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": {}, "created_at": 1724945834.576237, "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": "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": {"alias": "dbt_utils_accepted_range_core__3f4f8909ee14cc3497685cd59d23ce69"}, "created_at": 1724945834.5779383, "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": "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": {}, "created_at": 1724945834.582576, "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": "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": {}, "created_at": 1724945834.584226, "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": "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": {"alias": "dbt_utils_accepted_range_core__888419f8ec40f915d627bef6dd080939"}, "created_at": 1724945834.5859103, "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": "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": {}, "created_at": 1724945834.590949, "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": "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": {}, "created_at": 1724945834.5927036, "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": "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": {}, "created_at": 1724945834.5943618, "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": "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": {}, "created_at": 1724945834.5961432, "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": "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": {"alias": "accepted_values_core_withdrawn_c342407a773b81d94509df74947a9c6c"}, "created_at": 1724945834.5978076, "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": "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": {}, "created_at": 1724945834.6025715, "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": "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": {"alias": "dbt_utils_accepted_range_core__a9f1cefb42f63cfea9358db70fa1ce94"}, "created_at": 1724945834.604262, "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": "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": {}, "created_at": 1724945834.6087391, "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": "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": {}, "created_at": 1724945834.6110394, "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": "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": {}, "created_at": 1724945834.612699, "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": "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": {}, "created_at": 1724945834.6143107, "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": "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": {}, "created_at": 1724945834.6159227, "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": "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": {}, "created_at": 1724945834.6176913, "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": "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": {"alias": "accepted_values_core_liquidati_403bf0adbdcc35a44535d0751240d87f"}, "created_at": 1724945834.6193535, "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": "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": {}, "created_at": 1724945834.6240485, "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": "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": {}, "created_at": 1724945834.6260195, "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": "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": {}, "created_at": 1724945834.6277819, "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": "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": {"alias": "dbt_utils_accepted_range_core__21d67e7351992bfcaf34c4320a800a0b"}, "created_at": 1724945834.6295905, "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": "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": {}, "created_at": 1724945834.63466, "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": "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": {}, "created_at": 1724945834.6363819, "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": "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": {"alias": "dbt_utils_accepted_range_core__b4b4efd00a516ca3c87897d592dce4cd"}, "created_at": 1724945834.638081, "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": "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": {}, "created_at": 1724945834.642782, "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": "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": {}, "created_at": 1724945834.644421, "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": "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": {}, "created_at": 1724945834.6460912, "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": "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": {}, "created_at": 1724945834.6479588, "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": "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": {}, "created_at": 1724945834.6496255, "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": "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": {}, "created_at": 1724945834.6512525, "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": "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": {}, "created_at": 1724945834.6528978, "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": "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": {"alias": "accepted_values_core_market_up_6a9d36b124a389235dd15ee41453426c"}, "created_at": 1724945834.6545606, "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": "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": {}, "created_at": 1724945834.6594846, "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": "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": {"alias": "dbt_utils_accepted_range_core__f5541c6f76ecd75f65e2b608fa9333ae"}, "created_at": 1724945834.661249, "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": "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": {}, "created_at": 1724945834.6659575, "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": "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": {"alias": "not_null_core_market_updated_b_3efbf3bbb6987dd33d2575ce535e8be9"}, "created_at": 1724945834.667652, "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": "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": {"alias": "dbt_utils_accepted_range_core__7de5af8c2738f779d5328e285ca02cbb"}, "created_at": 1724945834.669332, "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": "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": {}, "created_at": 1724945834.6745572, "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": "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": {}, "created_at": 1724945834.6763825, "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": "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": {}, "created_at": 1724945834.6782188, "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": "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": {}, "created_at": 1724945834.6801934, "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": "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": {"alias": "dbt_utils_accepted_range_core__34edbab1962097faf1f212e944103c00"}, "created_at": 1724945834.6820445, "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": "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": {}, "created_at": 1724945834.6870766, "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": "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": {}, "created_at": 1724945834.6888642, "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": "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": {}, "created_at": 1724945834.6905732, "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": "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": {}, "created_at": 1724945834.692248, "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": "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": {}, "created_at": 1724945834.6939452, "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": "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": {}, "created_at": 1724945834.6957529, "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": "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": {}, "created_at": 1724945834.6975076, "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": "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": {}, "created_at": 1724945834.6992602, "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": "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": {}, "created_at": 1724945834.700981, "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": "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": {}, "created_at": 1724945834.7033968, "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": "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": {"alias": "accepted_values_core_market_re_36cb85f36ba2c74163a4c4448bb62b02"}, "created_at": 1724945834.7051792, "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": "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": {}, "created_at": 1724945834.7103868, "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": "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": {}, "created_at": 1724945834.7122025, "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": "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": {}, "created_at": 1724945834.713998, "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": "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": {}, "created_at": 1724945834.7157087, "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": "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": {}, "created_at": 1724945834.7174294, "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": "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": {}, "created_at": 1724945834.719206, "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": "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": {}, "created_at": 1724945834.7208798, "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": "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": {}, "created_at": 1724945834.72251, "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": "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": {}, "created_at": 1724945834.7241597, "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": "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": {"alias": "accepted_values_core_pool_crea_f149b376f2612493bb2657de678259ef"}, "created_at": 1724945834.7258997, "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": "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": {}, "created_at": 1724945834.7308204, "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": "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": {}, "created_at": 1724945834.7325375, "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": "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": {"alias": "dbt_utils_accepted_range_core__c3c8a8df64e53bf44d1b404363693677"}, "created_at": 1724945834.7343771, "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": "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": {}, "created_at": 1724945834.739024, "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": "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": {}, "created_at": 1724945834.740723, "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": "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": {"alias": "dbt_utils_accepted_range_core__440ce9f5e13972a7244fa20cf3774431"}, "created_at": 1724945834.742651, "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": "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": {}, "created_at": 1724945834.747756, "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": "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": {}, "created_at": 1724945834.749858, "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": "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": {"alias": "accepted_values_core_rewards_c_4448c26ebe83d53dc3e5ff23eac82e61"}, "created_at": 1724945834.7516346, "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": "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": {}, "created_at": 1724945834.7567792, "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": "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": {}, "created_at": 1724945834.7585742, "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": "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": {"alias": "dbt_utils_accepted_range_core__f9ddb6660b6e63be6156d0d4beb89947"}, "created_at": 1724945834.760288, "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": "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": {}, "created_at": 1724945834.7651508, "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": "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": {}, "created_at": 1724945834.7669084, "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": "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": {}, "created_at": 1724945834.768634, "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": "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": {}, "created_at": 1724945834.7703056, "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": "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": {}, "created_at": 1724945834.7721837, "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": "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": {"alias": "dbt_utils_accepted_range_core__d061ce3ecbf42aec12efd22a8b725531"}, "created_at": 1724945834.7739387, "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": "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": {}, "created_at": 1724945834.7790024, "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": "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": {}, "created_at": 1724945834.780771, "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": "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": {}, "created_at": 1724945834.782441, "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": "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": {}, "created_at": 1724945834.7840774, "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": "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": {"alias": "accepted_values_core_rewards_d_f07bd9c528d3bae951d8e15a0780508d"}, "created_at": 1724945834.785781, "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": "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": {}, "created_at": 1724945834.7903876, "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": "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": {"alias": "dbt_utils_accepted_range_core__6ee41a6e3287d72360197537a51f9db1"}, "created_at": 1724945834.7920647, "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": "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": {}, "created_at": 1724945834.7969038, "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": "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": {}, "created_at": 1724945834.7985477, "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": "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": {}, "created_at": 1724945834.8001914, "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": "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": {}, "created_at": 1724945834.801977, "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": "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": {}, "created_at": 1724945834.8036203, "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": "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": {}, "created_at": 1724945834.8052936, "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": "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": {"alias": "dbt_utils_accepted_range_core__ad2f9918d005f63ca46e07c60cad1fbf"}, "created_at": 1724945834.8069708, "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": "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": {}, "created_at": 1724945834.8120615, "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": "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": {}, "created_at": 1724945834.813888, "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": "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": {"alias": "dbt_utils_accepted_range_core__ca499a4e3f4cd07ae655ddd7a8f4bc00"}, "created_at": 1724945834.8156435, "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": "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": {}, "created_at": 1724945834.8211868, "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": "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": {"alias": "dbt_utils_accepted_range_core__5cc557d00b8bbfff4bcafb03a349a3e5"}, "created_at": 1724945834.8230734, "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": "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": {}, "created_at": 1724945834.8283281, "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": "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": {"alias": "dbt_utils_accepted_range_core__30addf18b8430be0f27259ef4cf0ca29"}, "created_at": 1724945834.830224, "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": "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": {}, "created_at": 1724945834.8351254, "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": "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": {"alias": "accepted_values_core_usd_burne_d3586b835d1259940e91cd6748c1e3b6"}, "created_at": 1724945834.8369749, "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": "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": {}, "created_at": 1724945834.8418217, "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": "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": {}, "created_at": 1724945834.8435445, "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": "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": {}, "created_at": 1724945834.8452601, "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": "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": {}, "created_at": 1724945834.8469296, "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": "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": {"alias": "dbt_utils_accepted_range_core__7d95e57f607809456a28cc4204cd2f2a"}, "created_at": 1724945834.8487341, "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": "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": {}, "created_at": 1724945834.853374, "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": "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": {}, "created_at": 1724945834.8552496, "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": "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": {}, "created_at": 1724945834.8569558, "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": "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": {}, "created_at": 1724945834.8585832, "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": "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": {}, "created_at": 1724945834.8602176, "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": "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": {}, "created_at": 1724945834.8618717, "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": "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": {"alias": "dbt_utils_accepted_range_core__9f186c48b6a0a65e3e2215713d7a5386"}, "created_at": 1724945834.8636508, "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": "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": {}, "created_at": 1724945834.8684442, "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": "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": {}, "created_at": 1724945834.870378, "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": "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": {"alias": "dbt_utils_accepted_range_core__b68f23db9faa77f31eed02ece247d791"}, "created_at": 1724945834.8721406, "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": "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": {}, "created_at": 1724945834.8767774, "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": "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": {}, "created_at": 1724945834.8786724, "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": "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": {}, "created_at": 1724945834.8803518, "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": "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": {}, "created_at": 1724945834.8820465, "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": "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": {}, "created_at": 1724945834.8836749, "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": "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": {}, "created_at": 1724945834.8860512, "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": "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": {"alias": "dbt_utils_accepted_range_core__c292312a15973d99cb86f687346188af"}, "created_at": 1724945834.8877645, "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": "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": {}, "created_at": 1724945834.892388, "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": "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": {"alias": "accepted_values_core_usd_minte_af3da772d555dc79c452effc7b6f9002"}, "created_at": 1724945834.8943279, "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": "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": {}, "created_at": 1724945834.8988566, "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": "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": {}, "created_at": 1724945834.900829, "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": "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": {}, "created_at": 1724945834.9025218, "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": "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": {}, "created_at": 1724945834.9041693, "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": "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": {}, "created_at": 1724945834.9058657, "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": "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": {"alias": "dbt_utils_accepted_range_core__78a5a46b1c28cb5b628273e180683827"}, "created_at": 1724945834.9075704, "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": "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": {}, "created_at": 1724945834.9124386, "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": "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": {"alias": "accepted_values_core_vault_liq_e9d47b42f69123eccbff3f66c69b6af2"}, "created_at": 1724945834.91424, "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": "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": {}, "created_at": 1724945834.9189253, "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": "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": {}, "created_at": 1724945834.9207387, "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": "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": {}, "created_at": 1724945834.9224584, "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": "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": {"alias": "not_null_core_vault_liquidatio_53dd6224c744d10360ffff7b324992d2"}, "created_at": 1724945834.9243083, "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": "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": {"alias": "dbt_utils_accepted_range_core__8485599cff2a5b7ec94419989fe730df"}, "created_at": 1724945834.9259918, "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": "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": {}, "created_at": 1724945834.9307175, "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": "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": {}, "created_at": 1724945834.9323843, "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": "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": {}, "created_at": 1724945834.9340513, "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": "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": {}, "created_at": 1724945834.9356778, "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": "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": {}, "created_at": 1724945834.9373877, "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": "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": {}, "created_at": 1724945834.9391377, "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": "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": {}, "created_at": 1724945834.9407876, "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": "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": {"alias": "dbt_utils_accepted_range_core__2284faf96de80368edab3a7fd3bfd950"}, "created_at": 1724945834.9424217, "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": "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": {}, "created_at": 1724945834.9470966, "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": "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": {}, "created_at": 1724945834.948778, "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": "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": {"alias": "dbt_utils_accepted_range_core__4a5c58685176282790b5abfce94b3fda"}, "created_at": 1724945834.950436, "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": "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": {}, "created_at": 1724945834.955007, "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": "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": {"alias": "dbt_utils_accepted_range_core__004b356febea592d3109c0bef0abafe4"}, "created_at": 1724945834.9567282, "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": "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": {}, "created_at": 1724945834.961402, "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": "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": {}, "created_at": 1724945834.9631495, "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": "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": {}, "created_at": 1724945834.9649754, "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": "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": {}, "created_at": 1724945834.9666479, "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": "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": {"alias": "dbt_utils_accepted_range_core__fe372a67c8b1ea27c6fdd5c876afec7c"}, "created_at": 1724945834.9684978, "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": "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": {}, "created_at": 1724945834.9731462, "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": "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": {}, "created_at": 1724945834.9754717, "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": "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": {}, "created_at": 1724945834.9771314, "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": "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": {}, "created_at": 1724945834.9943593, "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": "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": {}, "created_at": 1724945834.996317, "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": "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": {}, "created_at": 1724945834.9981527, "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": "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": {"alias": "accepted_values_spot_order_com_ef6d06586407466691e8d01de71aba4f"}, "created_at": 1724945835.0000465, "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": "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": {}, "created_at": 1724945835.0047452, "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": "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": {}, "created_at": 1724945835.0064871, "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": "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": {}, "created_at": 1724945835.0083733, "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": "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": {}, "created_at": 1724945835.0101192, "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": "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": {"alias": "dbt_utils_accepted_range_spot__45f3aefc6a56a878e2902b146dc2bcb4"}, "created_at": 1724945835.0118, "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": "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": {}, "created_at": 1724945835.0164526, "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": "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": {}, "created_at": 1724945835.0181599, "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": "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": {}, "created_at": 1724945835.019782, "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": "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": {"alias": "dbt_utils_accepted_range_spot__7a17e96e4a0ec8e420005d9b7f38ad05"}, "created_at": 1724945835.021457, "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": "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": {}, "created_at": 1724945835.0260527, "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": "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": {}, "created_at": 1724945835.0277405, "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": "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": {"alias": "dbt_utils_accepted_range_spot__4f13a7868119bca201bdeaa525a3d0fd"}, "created_at": 1724945835.0295532, "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": "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": {}, "created_at": 1724945835.0338457, "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": "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": {}, "created_at": 1724945835.0355828, "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": "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": {}, "created_at": 1724945835.0374486, "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": "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": {}, "created_at": 1724945835.039072, "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": "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": {}, "created_at": 1724945835.0407152, "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": "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": {}, "created_at": 1724945835.0423594, "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": "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": {}, "created_at": 1724945835.044097, "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": "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": {}, "created_at": 1724945835.045791, "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": "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": {}, "created_at": 1724945835.0474098, "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": "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": {"alias": "dbt_utils_accepted_range_spot__cd269306f3b2f0353d6196cda647b5bb"}, "created_at": 1724945835.0490744, "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": "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": {}, "created_at": 1724945835.0538685, "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": "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": {"alias": "dbt_utils_accepted_range_spot__13a01d419f0c01220bde33d48208a6d3"}, "created_at": 1724945835.0555758, "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": "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": {}, "created_at": 1724945835.0600708, "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": "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": {"alias": "dbt_utils_accepted_range_spot__300cfb1565a2e5a0373aab21735eb780"}, "created_at": 1724945835.0617588, "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": "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": {}, "created_at": 1724945835.0668464, "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": "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": {"alias": "accepted_values_spot_order_set_d1c46e9e2adad296d75fa712f4250930"}, "created_at": 1724945835.0685184, "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": "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": {}, "created_at": 1724945835.0728998, "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": "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": {}, "created_at": 1724945835.0745647, "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": "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": {}, "created_at": 1724945835.0762355, "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": "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": {}, "created_at": 1724945835.0779505, "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": "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": {}, "created_at": 1724945835.079675, "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": "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": {}, "created_at": 1724945835.081309, "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": "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": {}, "created_at": 1724945835.0829146, "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": "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": {"alias": "accepted_values_spot_order_can_3690236c38a3115c311350297982d981"}, "created_at": 1724945835.084543, "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": "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": {}, "created_at": 1724945835.089301, "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": "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": {"alias": "dbt_utils_accepted_range_spot__b91d9ecd06c3f68bcfa4965064d38638"}, "created_at": 1724945835.0909936, "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": "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": {}, "created_at": 1724945835.0956402, "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": "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": {}, "created_at": 1724945835.0973647, "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": "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": {}, "created_at": 1724945835.0990255, "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": "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": {}, "created_at": 1724945835.1007068, "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": "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": {}, "created_at": 1724945835.102521, "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": "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": {"alias": "dbt_utils_accepted_range_spot__db70217fe7008de187cf1916f01ad9ac"}, "created_at": 1724945835.1041813, "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": "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": {}, "created_at": 1724945835.1091385, "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": "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": {}, "created_at": 1724945835.110843, "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": "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": {}, "created_at": 1724945835.1125047, "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": "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": {}, "created_at": 1724945835.114242, "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": "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": {"alias": "accepted_values_spot_synth_reg_471967b994e90555bd28aca32fc1028a"}, "created_at": 1724945835.1159356, "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": "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": {}, "created_at": 1724945835.1207685, "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": "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": {}, "created_at": 1724945835.1225038, "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": "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": {"alias": "dbt_utils_accepted_range_spot__cb754edcca977002ee1bf5c8e8d2cda3"}, "created_at": 1724945835.124361, "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": "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": {}, "created_at": 1724945835.1289642, "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": "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": {}, "created_at": 1724945835.1306913, "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": "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": {"alias": "dbt_utils_accepted_range_spot__5c81b12a2b7d8abf5e9e3b24937fc80b"}, "created_at": 1724945835.132669, "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": "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": {}, "created_at": 1724945835.1375563, "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": "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": {}, "created_at": 1724945835.1395657, "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": "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": {}, "created_at": 1724945835.141329, "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": "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": {}, "created_at": 1724945835.1430192, "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": "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": {}, "created_at": 1724945835.1446812, "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": "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": {"alias": "dbt_utils_accepted_range_spot__c04a0814c5b3928f067817c3c1073c16"}, "created_at": 1724945835.1463807, "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": "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": {}, "created_at": 1724945835.1513538, "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": "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": {}, "created_at": 1724945835.1530914, "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": "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": {}, "created_at": 1724945835.1554537, "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": "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": {"alias": "accepted_values_spot_synth_bou_aa2a6971760377ea577d960171ae6483"}, "created_at": 1724945835.1571577, "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": "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": {}, "created_at": 1724945835.1615045, "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": "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": {"alias": "accepted_values_spot_synth_sol_4a303f29675a493155ab1c8c405d5788"}, "created_at": 1724945835.1633546, "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": "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": {}, "created_at": 1724945835.16751, "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": "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": {}, "created_at": 1724945835.169319, "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": "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": {"alias": "dbt_utils_accepted_range_spot__966d446920709dfdf243c21a8e245c96"}, "created_at": 1724945835.1709511, "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": "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": {}, "created_at": 1724945835.1753101, "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": "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": {}, "created_at": 1724945835.1770291, "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": "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": {}, "created_at": 1724945835.1786747, "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": "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": {}, "created_at": 1724945835.1803281, "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": "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": {"alias": "dbt_utils_accepted_range_spot__92b3915b24936d3e739e69bedf15be06"}, "created_at": 1724945835.1820548, "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": "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": {}, "created_at": 1724945835.1869752, "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": "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": {"alias": "dbt_utils_accepted_range_spot__50066068b3f5b64e057fb6537a1b1685"}, "created_at": 1724945835.1886787, "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": "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": {}, "created_at": 1724945835.193334, "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": "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": {"alias": "dbt_utils_accepted_range_spot__15365b5e9ca07c7e777db2b143822aff"}, "created_at": 1724945835.195047, "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": "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": {}, "created_at": 1724945835.1996012, "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": "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": {}, "created_at": 1724945835.2012978, "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": "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": {}, "created_at": 1724945835.2029479, "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": "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": {}, "created_at": 1724945835.2045996, "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": "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": {}, "created_at": 1724945835.2063875, "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": "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": {}, "created_at": 1724945835.2080328, "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": "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": {}, "created_at": 1724945835.2097049, "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": "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": {"alias": "dbt_utils_accepted_range_spot__b7cc818868b90483e6c7f3bbc2f3b338"}, "created_at": 1724945835.2113516, "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": "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": {}, "created_at": 1724945835.2162678, "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": "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": {}, "created_at": 1724945835.2180226, "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": "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": {"alias": "accepted_values_spot_synth_wra_9ee9951c121b860154825f1775b31b57"}, "created_at": 1724945835.2197425, "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": "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": {}, "created_at": 1724945835.2242482, "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": "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": {}, "created_at": 1724945835.225952, "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": "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": {}, "created_at": 1724945835.2277658, "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": "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": {"alias": "dbt_utils_accepted_range_spot__8d225b547c2425ebaa8b38fe55a2c4cc"}, "created_at": 1724945835.2294674, "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": "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": {}, "created_at": 1724945835.2339258, "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": "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": {}, "created_at": 1724945835.2357743, "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": "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": {"alias": "dbt_utils_accepted_range_spot__1eeca95b22fbea01362853fe19dd5d34"}, "created_at": 1724945835.2374861, "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": "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": {}, "created_at": 1724945835.2430015, "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": "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": {"alias": "dbt_utils_accepted_range_spot__9e68c7f5395a0920fa09a175c31f3639"}, "created_at": 1724945835.2447603, "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": "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": {}, "created_at": 1724945835.249175, "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": "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": {"alias": "accepted_values_spot_synth_unw_a652e41c73419299bd7282cc028e6446"}, "created_at": 1724945835.2510462, "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": "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": {}, "created_at": 1724945835.2554874, "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": "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": {}, "created_at": 1724945835.2575178, "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": "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": {}, "created_at": 1724945835.2592642, "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": "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": {}, "created_at": 1724945835.260979, "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": "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": {}, "created_at": 1724945835.262639, "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": "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": {}, "created_at": 1724945835.2642808, "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": "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": {"alias": "dbt_utils_accepted_range_spot__ef48f492828e0921df76e6dd121631dd"}, "created_at": 1724945835.2661078, "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": "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": {}, "created_at": 1724945835.3036482, "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": "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": {}, "created_at": 1724945835.3055038, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2934f4352fc26e023c55f84429ab3bde"}, "created_at": 1724945835.307188, "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": "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": {}, "created_at": 1724945835.311713, "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": "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": {}, "created_at": 1724945835.3134108, "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": "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": {}, "created_at": 1724945835.3150485, "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": "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": {}, "created_at": 1724945835.3166897, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_054c72037f95e4e9cbfef34c09039720"}, "created_at": 1724945835.3184338, "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": "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": {}, "created_at": 1724945835.3226247, "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": "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": {}, "created_at": 1724945835.3244069, "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": "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": {}, "created_at": 1724945835.3260841, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_dbfdda8748eed6f862c9beac15d321ff"}, "created_at": 1724945835.3277233, "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": "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": {"alias": "not_null_fct_core_account_dele_68b57970c09830d418df224418591310"}, "created_at": 1724945835.3328884, "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": "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": {"alias": "not_null_fct_core_account_dele_faf037cd4ab1300b61ff50c827948558"}, "created_at": 1724945835.3346572, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_4c6859702d760b33c376577408388b07"}, "created_at": 1724945835.3363602, "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": "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": {}, "created_at": 1724945835.3411975, "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": "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": {}, "created_at": 1724945835.3428411, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_3db6bf9387d3a49899c54e305f9c78d9"}, "created_at": 1724945835.3444867, "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": "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": {}, "created_at": 1724945835.3487353, "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": "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": {}, "created_at": 1724945835.3503914, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_7920031b7da7d8d224f8136d1dea8db1"}, "created_at": 1724945835.3520575, "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": "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": {}, "created_at": 1724945835.3561995, "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": "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": {}, "created_at": 1724945835.3578765, "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": "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": {}, "created_at": 1724945835.359522, "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": "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": {}, "created_at": 1724945835.3613338, "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": "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": {}, "created_at": 1724945835.3629782, "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": "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": {}, "created_at": 1724945835.3645983, "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": "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": {}, "created_at": 1724945835.3662586, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_969f0368b99bfbbc3842bae64e338171"}, "created_at": 1724945835.3680317, "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": "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": {}, "created_at": 1724945835.3724442, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_74be897c581ee7316521db360ea3b995"}, "created_at": 1724945835.3741174, "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": "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": {}, "created_at": 1724945835.378317, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_397671cb74778b45abbae274b37b7464"}, "created_at": 1724945835.380011, "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": "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": {}, "created_at": 1724945835.3844848, "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": "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": {}, "created_at": 1724945835.3861532, "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": "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": {}, "created_at": 1724945835.387769, "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": "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": {}, "created_at": 1724945835.3895247, "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": "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": {}, "created_at": 1724945835.3911324, "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": "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": {}, "created_at": 1724945835.3927622, "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": "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": {}, "created_at": 1724945835.3943846, "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": "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": {}, "created_at": 1724945835.3960104, "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": "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": {}, "created_at": 1724945835.3978097, "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": "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": {}, "created_at": 1724945835.3994231, "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": "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": {}, "created_at": 1724945835.4010396, "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": "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": {"alias": "accepted_values_fct_core_marke_d21d06b76f991501aa1300a0c4a8a2f0"}, "created_at": 1724945835.4026847, "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": "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": {}, "created_at": 1724945835.4070423, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_bd3c45a752772e6ee9024ed6a31e6f2e"}, "created_at": 1724945835.4087389, "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": "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": {}, "created_at": 1724945835.4129264, "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": "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": {}, "created_at": 1724945835.4145887, "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": "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": {}, "created_at": 1724945835.4161844, "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": "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": {}, "created_at": 1724945835.4183693, "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": "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": {}, "created_at": 1724945835.4200356, "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": "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": {}, "created_at": 1724945835.4216669, "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": "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": {}, "created_at": 1724945835.4232783, "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": "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": {}, "created_at": 1724945835.4249022, "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": "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": {}, "created_at": 1724945835.4266021, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_a1abcaadc79b00f18a75355656bda467"}, "created_at": 1724945835.4282284, "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": "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": {}, "created_at": 1724945835.432781, "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": "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": {}, "created_at": 1724945835.4344163, "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": "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": {}, "created_at": 1724945835.4360158, "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": "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": {}, "created_at": 1724945835.4399328, "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": "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": {}, "created_at": 1724945835.4416642, "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": "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": {}, "created_at": 1724945835.4432964, "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": "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": {}, "created_at": 1724945835.4449377, "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": "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": {}, "created_at": 1724945835.4466548, "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": "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": {}, "created_at": 1724945835.4482586, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_37d9476ddcaaefbc45d08f7a6f84707f"}, "created_at": 1724945835.4499037, "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": "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": {}, "created_at": 1724945835.4540715, "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": "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": {}, "created_at": 1724945835.4557106, "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": "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": {}, "created_at": 1724945835.4573827, "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": "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": {}, "created_at": 1724945835.459002, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c91a4c24938e464a76aaa74fe2c0fc77"}, "created_at": 1724945835.4608037, "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": "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": {}, "created_at": 1724945835.465318, "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": "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": {}, "created_at": 1724945835.467174, "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": "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": {}, "created_at": 1724945835.4688601, "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": "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": {}, "created_at": 1724945835.4704854, "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": "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": {}, "created_at": 1724945835.4720871, "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": "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": {}, "created_at": 1724945835.4737215, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_fa41ca552146289703e7abe44ca6f646"}, "created_at": 1724945835.4754505, "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": "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": {}, "created_at": 1724945835.4799216, "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": "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": {}, "created_at": 1724945835.4818025, "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": "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": {}, "created_at": 1724945835.4834583, "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": "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": {}, "created_at": 1724945835.4850943, "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": "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": {}, "created_at": 1724945835.4867594, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_4e450d674b791e1df8b4f4f3d7636c5f"}, "created_at": 1724945835.4884124, "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": "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": {}, "created_at": 1724945835.4932501, "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": "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": {}, "created_at": 1724945835.4950192, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_3cf53cd92b2b1ff30275b19a4a617a35"}, "created_at": 1724945835.4967084, "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": "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": {}, "created_at": 1724945835.5015302, "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": "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": {}, "created_at": 1724945835.5032387, "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": "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": {}, "created_at": 1724945835.505605, "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": "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": {}, "created_at": 1724945835.5072858, "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": "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": {}, "created_at": 1724945835.508963, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c642ac1eb2e73de04b3c7331a4a52185"}, "created_at": 1724945835.5106297, "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": "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": {}, "created_at": 1724945835.5154226, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_b619d6e075a6befe7091b2fac0bf9d19"}, "created_at": 1724945835.517154, "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": "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": {}, "created_at": 1724945835.5217817, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c6b20868bf12e187c3c86d5f98a17a2d"}, "created_at": 1724945835.5234745, "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": "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": {}, "created_at": 1724945835.528079, "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": "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": {}, "created_at": 1724945835.529818, "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": "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": {}, "created_at": 1724945835.531467, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_5f5ea2512e72e9d33d7be84a5f82e91a"}, "created_at": 1724945835.53316, "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": "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": {}, "created_at": 1724945835.5377812, "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": "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": {}, "created_at": 1724945835.539461, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_97bd635a3321c7cb622fc608c9dac2b2"}, "created_at": 1724945835.54112, "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": "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": {}, "created_at": 1724945835.5456362, "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": "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": {}, "created_at": 1724945835.5473218, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a2f8130bd385146eb3ac2417b74d3623"}, "created_at": 1724945835.549161, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_1b37fa723d141179d74f2a8f22262b1c"}, "created_at": 1724945835.553685, "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": "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": {}, "created_at": 1724945835.5554228, "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": "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": {}, "created_at": 1724945835.5573404, "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": "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": {}, "created_at": 1724945835.5589855, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_6c8e00b5fea6ea747b34f06f0320b43d"}, "created_at": 1724945835.5606503, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_e14b12dbad2ae17fd6b51fd232e2f506"}, "created_at": 1724945835.5652583, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_26f860be0c2f83871be063705ed0d088"}, "created_at": 1724945835.566939, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_6bc3563e83626e6160dfb0050ae58c8b"}, "created_at": 1724945835.571316, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_cb508134c0b1447803ea96994a4b3fec"}, "created_at": 1724945835.572992, "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": "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": {}, "created_at": 1724945835.5772665, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_11488003baec9a724afe97be296df511"}, "created_at": 1724945835.5789142, "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": "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": {}, "created_at": 1724945835.5831344, "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": "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": {}, "created_at": 1724945835.5847876, "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": "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": {}, "created_at": 1724945835.5864134, "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": "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": {}, "created_at": 1724945835.5880024, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_48f0d9921539034df20c548ad9e39887"}, "created_at": 1724945835.5903947, "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": "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": {}, "created_at": 1724945835.5946527, "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": "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": {"alias": "accepted_values_fct_core_migra_a67858299bafa53cea6a7746c340025c"}, "created_at": 1724945835.5964563, "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": "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": {}, "created_at": 1724945835.60088, "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": "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": {}, "created_at": 1724945835.6026893, "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": "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": {}, "created_at": 1724945835.6043515, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_8874a5f4f6fdea2aa80f500cdb51138b"}, "created_at": 1724945835.6060126, "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": "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": {}, "created_at": 1724945835.6101725, "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": "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": {}, "created_at": 1724945835.6118042, "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": "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": {}, "created_at": 1724945835.6134343, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_d85f31b9b2ce6f6655bed616ef640917"}, "created_at": 1724945835.6150484, "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": "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": {}, "created_at": 1724945835.6194987, "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": "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": {"alias": "not_null_fct_core_migration_ho_8d7c5dd06705413d11ea6deca8cf644b"}, "created_at": 1724945835.6211736, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_a087b5b0934fce77ccb5a84d8ceadd2a"}, "created_at": 1724945835.6228082, "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": "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": {}, "created_at": 1724945835.6302211, "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": "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": {}, "created_at": 1724945835.6321425, "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": "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": {}, "created_at": 1724945835.633994, "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": "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": {}, "created_at": 1724945835.6360855, "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": "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": {}, "created_at": 1724945835.6404126, "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": "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": {}, "created_at": 1724945835.6421473, "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": "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": {}, "created_at": 1724945835.6439826, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_f868bfeea2d8480d4dec20c65d9ae75a"}, "created_at": 1724945835.6456687, "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": "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": {}, "created_at": 1724945835.668336, "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": "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": {}, "created_at": 1724945835.670241, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_60522e151e8e0e30d7da9ec6cf7c9bd3"}, "created_at": 1724945835.6719177, "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": "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": {}, "created_at": 1724945835.6775467, "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": "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": {}, "created_at": 1724945835.6792653, "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": "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": {}, "created_at": 1724945835.6810424, "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": "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": {}, "created_at": 1724945835.6828568, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_763a1d68cea27da2cd6c7c90b0572cee"}, "created_at": 1724945835.6845922, "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": "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": {}, "created_at": 1724945835.689457, "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": "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": {"alias": "not_null_fct_core_account_dele_97b2ee4148e5bac1b0699fe3c6e63583"}, "created_at": 1724945835.691129, "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": "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": {}, "created_at": 1724945835.6929526, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_335aca0e4bfdf700395d4d6e2861f70c"}, "created_at": 1724945835.6946158, "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": "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": {"alias": "not_null_fct_core_account_dele_31ff6ba6e6f978d07dd28e8ba6100164"}, "created_at": 1724945835.6988993, "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": "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": {"alias": "not_null_fct_core_account_dele_ee7cc0e1e999bee8d31dc50dc12bd488"}, "created_at": 1724945835.7007298, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_ebc9de3d45a12d255533021f88b74fed"}, "created_at": 1724945835.7023509, "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": "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": {}, "created_at": 1724945835.707041, "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": "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": {}, "created_at": 1724945835.7087948, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_1755c42adad4400728f2d291f52662f0"}, "created_at": 1724945835.710501, "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": "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": {}, "created_at": 1724945835.7154276, "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": "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": {}, "created_at": 1724945835.7171767, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_f5658474e91a7efeefc846ada0723656"}, "created_at": 1724945835.7189226, "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": "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": {}, "created_at": 1724945835.7242823, "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": "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": {}, "created_at": 1724945835.7261982, "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": "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": {}, "created_at": 1724945835.7279947, "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": "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": {}, "created_at": 1724945835.7299132, "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": "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": {}, "created_at": 1724945835.7315838, "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": "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": {}, "created_at": 1724945835.7332518, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_85aa93ec24a82fd6c67a87038bee45c1"}, "created_at": 1724945835.7348886, "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": "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": {}, "created_at": 1724945835.739539, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_73ef4a8208eaef7723f7a2b1da192431"}, "created_at": 1724945835.741257, "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": "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": {}, "created_at": 1724945835.7459397, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_483fd77f9e18a06eeee91a8e4f95404a"}, "created_at": 1724945835.747608, "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": "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": {}, "created_at": 1724945835.7519763, "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": "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": {}, "created_at": 1724945835.7536392, "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": "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": {}, "created_at": 1724945835.7552428, "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": "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": {}, "created_at": 1724945835.7568824, "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": "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": {}, "created_at": 1724945835.7585838, "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": "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": {}, "created_at": 1724945835.76018, "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": "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": {}, "created_at": 1724945835.7618012, "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": "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": {}, "created_at": 1724945835.7633877, "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": "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": {}, "created_at": 1724945835.7650185, "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": "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": {"alias": "not_null_fct_core_market_updat_4b643cda1c91c522d066b35480cce379"}, "created_at": 1724945835.7674742, "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": "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": {}, "created_at": 1724945835.7691603, "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": "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": {"alias": "accepted_values_fct_core_marke_f12327e7950a4c802d6132d27f7841dd"}, "created_at": 1724945835.770837, "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": "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": {}, "created_at": 1724945835.775623, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_ab6508955d3f808c1b270f9aa7a37b6d"}, "created_at": 1724945835.7773507, "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": "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": {"alias": "not_null_fct_core_market_updat_c100fcf44108d7ff35d65b9c6a7b25b1"}, "created_at": 1724945835.781848, "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": "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": {"alias": "not_null_fct_core_market_updat_ec83a69c2d67a6b85fde509d3cc884a8"}, "created_at": 1724945835.7834926, "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": "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": {}, "created_at": 1724945835.7851572, "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": "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": {}, "created_at": 1724945835.7867904, "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": "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": {}, "created_at": 1724945835.7885613, "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": "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": {"alias": "not_null_fct_core_pool_collate_093527c47d269f939c2c7d47d4c2a78f"}, "created_at": 1724945835.7902987, "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": "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": {"alias": "not_null_fct_core_pool_collate_2430c0471eac1e889c6c004ff9132c39"}, "created_at": 1724945835.7919314, "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": "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": {}, "created_at": 1724945835.7935977, "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": "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": {}, "created_at": 1724945835.7953308, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_7c412ba7c7ea7aef5e4e7db7c8fc5c75"}, "created_at": 1724945835.7969778, "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": "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": {"alias": "not_null_fct_core_pool_delegat_b4282e52ccccdfed1d4b4c2355b7d655"}, "created_at": 1724945835.801638, "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": "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": {}, "created_at": 1724945835.803326, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_b1d60fed4955a4fc968b2378103deac3"}, "created_at": 1724945835.8050277, "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": "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": {}, "created_at": 1724945835.809736, "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": "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": {}, "created_at": 1724945835.8114138, "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": "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": {}, "created_at": 1724945835.8130999, "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": "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": {}, "created_at": 1724945835.8147285, "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": "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": {}, "created_at": 1724945835.8164442, "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": "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": {}, "created_at": 1724945835.8180974, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_92e486da67fd4aa212c6fc7ead2ca990"}, "created_at": 1724945835.8197603, "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": "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": {}, "created_at": 1724945835.8242037, "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": "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": {}, "created_at": 1724945835.8258605, "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": "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": {}, "created_at": 1724945835.8274982, "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": "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": {}, "created_at": 1724945835.829134, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_ae8a634b24663cbeedd8622d73436da5"}, "created_at": 1724945835.8308473, "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": "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": {"alias": "not_null_fct_pool_issuance_hou_65ed67157b891a8810704ee505558860"}, "created_at": 1724945835.835084, "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": "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": {"alias": "not_null_fct_pool_issuance_hou_6846fca20e0573c8b636234f11940a78"}, "created_at": 1724945835.8369458, "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": "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": {}, "created_at": 1724945835.8385909, "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": "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": {}, "created_at": 1724945835.8402007, "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": "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": {}, "created_at": 1724945835.8418245, "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": "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": {}, "created_at": 1724945835.8434134, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2a92d0cd280c3cfef0baf61899429708"}, "created_at": 1724945835.8451605, "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": "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": {}, "created_at": 1724945835.8496227, "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": "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": {}, "created_at": 1724945835.8518908, "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": "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": {}, "created_at": 1724945835.8535454, "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": "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": {}, "created_at": 1724945835.8551638, "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": "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": {}, "created_at": 1724945835.8567848, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_0b54f6ee81adfb64e5d45509be471536"}, "created_at": 1724945835.8583953, "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": "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": {}, "created_at": 1724945835.8627768, "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": "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": {}, "created_at": 1724945835.864438, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_75eb21ed4adc24b56bbcdcebefd76286"}, "created_at": 1724945835.866124, "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": "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": {}, "created_at": 1724945835.8706353, "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": "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": {}, "created_at": 1724945835.8722894, "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": "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": {}, "created_at": 1724945835.8740757, "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": "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": {}, "created_at": 1724945835.8757002, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_fc2ea70c19f61eac92d253c82f8b6c86"}, "created_at": 1724945835.8773828, "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": "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": {}, "created_at": 1724945835.8817916, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_d399039b72aeb6695a12d8e3bbc21cc7"}, "created_at": 1724945835.8834794, "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": "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": {"alias": "not_null_fct_pool_pnl_hourly_a_7c866040c874169c1cad2287083652b9"}, "created_at": 1724945835.887949, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2b0953c6036f08e2a591283eb5a67dcb"}, "created_at": 1724945835.889632, "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": "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": {}, "created_at": 1724945835.8940156, "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": "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": {}, "created_at": 1724945835.8956888, "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": "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": {}, "created_at": 1724945835.897372, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_808e4ad8c54952685268224b3ab2dc3f"}, "created_at": 1724945835.8990233, "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": "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": {"alias": "not_null_fct_pool_rewards_hour_6b64ee93647e66468d764cc3fc458ee1"}, "created_at": 1724945835.9033923, "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": "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": {}, "created_at": 1724945835.905036, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_b767823a1421432f769ec197446aa019"}, "created_at": 1724945835.9066942, "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": "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": {}, "created_at": 1724945835.9109824, "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": "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": {}, "created_at": 1724945835.912663, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_1f912620bb744a27954a74cab0fd1f0c"}, "created_at": 1724945835.9143243, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_155765ddde142e379951332067798d41"}, "created_at": 1724945835.9186018, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_32d66eb63ddb1fa4ad4488d0be44060a"}, "created_at": 1724945835.9202757, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_090c93d2b78f3f33bc0bf584324abc24"}, "created_at": 1724945835.9219215, "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": "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": {}, "created_at": 1724945835.9236531, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2a59ca2beb6fa3013c573eb43e95ab48"}, "created_at": 1724945835.925322, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_3abff49d616142611160f813d5d63b81"}, "created_at": 1724945835.9297714, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a117cda80e79c005af15ab4b519b300f"}, "created_at": 1724945835.9314167, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_7680e416aa038a0209b5501bfe3565c3"}, "created_at": 1724945835.93561, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_4531650c2e995988bfd3c93907803f02"}, "created_at": 1724945835.9380355, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_e5018762223ef54a23a1f8e8015d80e9"}, "created_at": 1724945835.9421391, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_df233af1f002dedfa1f71072df17c949"}, "created_at": 1724945835.943945, "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": "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": {}, "created_at": 1724945835.9540904, "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": "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": {}, "created_at": 1724945835.9560082, "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": "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": {}, "created_at": 1724945835.9576933, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_ad07ecda7adc2e1174efae746b1e061f"}, "created_at": 1724945835.959343, "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": "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": {}, "created_at": 1724945835.9638622, "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": "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": {}, "created_at": 1724945835.9655573, "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": "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": {}, "created_at": 1724945835.9672043, "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": "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": {}, "created_at": 1724945835.9688418, "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": "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": {}, "created_at": 1724945835.9706016, "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": "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": {}, "created_at": 1724945835.972212, "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": "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": {}, "created_at": 1724945835.9738636, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_75265e3f1113500b998d90fbb5de93fd"}, "created_at": 1724945835.975512, "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": "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": {}, "created_at": 1724945835.9800258, "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": "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": {}, "created_at": 1724945835.9817202, "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": "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": {}, "created_at": 1724945835.98336, "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": "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": {}, "created_at": 1724945835.9851325, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_0fab89b4df840dcd6d06f9fa6285b914"}, "created_at": 1724945835.986786, "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": "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": {}, "created_at": 1724945835.991245, "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": "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": {}, "created_at": 1724945835.9929378, "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": "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": {}, "created_at": 1724945835.9945638, "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": "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": {}, "created_at": 1724945835.9961905, "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": "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": {}, "created_at": 1724945835.9978971, "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": "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": {}, "created_at": 1724945835.9996274, "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": "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": {}, "created_at": 1724945836.0012712, "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": "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": {}, "created_at": 1724945836.0028722, "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": "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": {}, "created_at": 1724945836.004478, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_40719b2c5c7462a9421a6076d2378e77"}, "created_at": 1724945836.0062137, "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": "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": {}, "created_at": 1724945836.0106232, "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": "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": {}, "created_at": 1724945836.0145042, "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": "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": {}, "created_at": 1724945836.0163848, "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": "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": {}, "created_at": 1724945836.0180397, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_dcb09535be5469b9faf234ed6f43f02e"}, "created_at": 1724945836.019694, "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": "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": {}, "created_at": 1724945836.0240946, "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": "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": {}, "created_at": 1724945836.0257998, "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": "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": {}, "created_at": 1724945836.0274458, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_4644ad7c63d005ac54db98edb6c9c900"}, "created_at": 1724945836.029099, "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": "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": {}, "created_at": 1724945836.0522373, "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": "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": {}, "created_at": 1724945836.0541253, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_599de352b839feed51ad4f4eb17b420f"}, "created_at": 1724945836.055816, "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": "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": {}, "created_at": 1724945836.0604875, "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": "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": {}, "created_at": 1724945836.062215, "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": "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": {}, "created_at": 1724945836.063848, "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": "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": {}, "created_at": 1724945836.0656316, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_7117aa2f114d3eb896f9eea1201abd2a"}, "created_at": 1724945836.0672715, "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": "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": {}, "created_at": 1724945836.0718362, "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": "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": {"alias": "not_null_fct_core_account_dele_bacd513a0071b80c39a55744b53f1df2"}, "created_at": 1724945836.0735257, "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": "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": {}, "created_at": 1724945836.0751417, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_f960bca5e9cfb9ebd3dd42290ee043a9"}, "created_at": 1724945836.076821, "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": "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": {"alias": "not_null_fct_core_account_dele_1d9726e98d7c252b953966d1ac40c406"}, "created_at": 1724945836.0812514, "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": "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": {"alias": "not_null_fct_core_account_dele_beb2c452623901a2f1cc75badf66ccbe"}, "created_at": 1724945836.08291, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_4f0191e29c5e221dd6a950c7ef37d747"}, "created_at": 1724945836.0845382, "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": "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": {}, "created_at": 1724945836.0889766, "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": "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": {}, "created_at": 1724945836.0906394, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_7d6c69f2928c543037dd15ccc656a4e0"}, "created_at": 1724945836.0922785, "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": "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": {}, "created_at": 1724945836.0967026, "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": "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": {}, "created_at": 1724945836.0983672, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_ff2b6461c3de5a4c9eb8d709664fdf81"}, "created_at": 1724945836.1000264, "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": "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": {}, "created_at": 1724945836.1044989, "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": "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": {}, "created_at": 1724945836.1061928, "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": "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": {}, "created_at": 1724945836.1079586, "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": "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": {}, "created_at": 1724945836.109636, "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": "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": {}, "created_at": 1724945836.11126, "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": "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": {}, "created_at": 1724945836.1129026, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_077f2defb2efb708f8c1e03f6d47b95a"}, "created_at": 1724945836.1145577, "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": "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": {}, "created_at": 1724945836.119837, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_884a51c573b5df3cbadc4cd5eb548c09"}, "created_at": 1724945836.1215181, "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": "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": {}, "created_at": 1724945836.1258125, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_f89936149b2f72282552911517871bed"}, "created_at": 1724945836.1274712, "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": "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": {}, "created_at": 1724945836.131736, "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": "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": {}, "created_at": 1724945836.1334085, "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": "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": {}, "created_at": 1724945836.1351137, "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": "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": {}, "created_at": 1724945836.13675, "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": "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": {}, "created_at": 1724945836.1384983, "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": "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": {}, "created_at": 1724945836.140091, "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": "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": {}, "created_at": 1724945836.1417212, "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": "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": {}, "created_at": 1724945836.1433144, "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": "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": {}, "created_at": 1724945836.145063, "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": "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": {"alias": "not_null_fct_core_market_updat_36e0ca2a51356f2f21489599f00a450c"}, "created_at": 1724945836.1466928, "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": "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": {}, "created_at": 1724945836.1483026, "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": "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": {"alias": "accepted_values_fct_core_marke_8b90c2263185e692a28bc21c7c196d94"}, "created_at": 1724945836.1499987, "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": "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": {}, "created_at": 1724945836.1546717, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_b74906ac71cf090fed4cb09296e08ec9"}, "created_at": 1724945836.1563666, "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": "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": {"alias": "not_null_fct_core_market_updat_f2230a6a0d1758e98839bc6421b06fa7"}, "created_at": 1724945836.1607783, "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": "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": {"alias": "not_null_fct_core_market_updat_deb18cd73203d572302c2f3a96563472"}, "created_at": 1724945836.1624205, "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": "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": {}, "created_at": 1724945836.164028, "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": "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": {}, "created_at": 1724945836.16568, "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": "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": {}, "created_at": 1724945836.1674476, "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": "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": {"alias": "not_null_fct_core_pool_collate_ee9fa342217d1818d740af9852d602da"}, "created_at": 1724945836.1691282, "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": "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": {"alias": "not_null_fct_core_pool_collate_0f92106980f19a00f3960ca4fc10318e"}, "created_at": 1724945836.1707366, "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": "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": {}, "created_at": 1724945836.1723554, "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": "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": {}, "created_at": 1724945836.1741025, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_de38f886e586adc0ef6de1c742aa1e21"}, "created_at": 1724945836.1757276, "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": "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": {"alias": "not_null_fct_core_pool_delegat_60116e7971a6034dfb3bce7f65b82427"}, "created_at": 1724945836.18039, "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": "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": {}, "created_at": 1724945836.1820712, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_0b44fd5cc8c2d1e04a3b7c9b915f2cc4"}, "created_at": 1724945836.183705, "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": "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": {}, "created_at": 1724945836.1881423, "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": "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": {}, "created_at": 1724945836.1898146, "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": "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": {}, "created_at": 1724945836.191442, "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": "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": {}, "created_at": 1724945836.1930878, "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": "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": {}, "created_at": 1724945836.1948447, "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": "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": {}, "created_at": 1724945836.1964524, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_5183b189cbc825148d4266891fd01da5"}, "created_at": 1724945836.1981606, "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": "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": {}, "created_at": 1724945836.203702, "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": "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": {}, "created_at": 1724945836.2054985, "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": "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": {}, "created_at": 1724945836.2072227, "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": "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": {}, "created_at": 1724945836.2089336, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_10ced893bba152248d018a8fc373d942"}, "created_at": 1724945836.2107456, "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": "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": {"alias": "not_null_fct_pool_issuance_hou_ef4983c22214b01e693f4d2ae2d8d374"}, "created_at": 1724945836.2156854, "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": "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": {"alias": "not_null_fct_pool_issuance_hou_11cb916d75968dff8a34062a04135270"}, "created_at": 1724945836.2177465, "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": "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": {}, "created_at": 1724945836.2194963, "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": "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": {}, "created_at": 1724945836.2212455, "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": "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": {}, "created_at": 1724945836.222941, "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": "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": {}, "created_at": 1724945836.2246726, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_fa7cf2db846d1f7db6571286c827e475"}, "created_at": 1724945836.2264972, "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": "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": {}, "created_at": 1724945836.2313676, "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": "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": {}, "created_at": 1724945836.2333066, "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": "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": {}, "created_at": 1724945836.2350385, "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": "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": {}, "created_at": 1724945836.2367573, "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": "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": {}, "created_at": 1724945836.238425, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_7d080ad9810c6e54982f624954c1a8bd"}, "created_at": 1724945836.2400808, "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": "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": {}, "created_at": 1724945836.244875, "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": "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": {}, "created_at": 1724945836.2465467, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_e12600eefd85fc7e692b201278046e4b"}, "created_at": 1724945836.2482202, "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": "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": {}, "created_at": 1724945836.252937, "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": "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": {}, "created_at": 1724945836.254599, "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": "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": {}, "created_at": 1724945836.256361, "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": "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": {}, "created_at": 1724945836.258005, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_e0a68b51993ab712ad96312726405859"}, "created_at": 1724945836.2596154, "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": "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": {}, "created_at": 1724945836.2640827, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a67d338a50f45b5e37135127818c33d1"}, "created_at": 1724945836.265812, "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": "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": {"alias": "not_null_fct_pool_pnl_hourly_a_6c23c87583f2b0ac9bb0a2c0370497c4"}, "created_at": 1724945836.270581, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_78d7856dd1e123f365011eee499b2f59"}, "created_at": 1724945836.2722712, "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": "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": {}, "created_at": 1724945836.2768037, "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": "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": {}, "created_at": 1724945836.2784996, "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": "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": {}, "created_at": 1724945836.280136, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_df9fa8946eec41700553434667916542"}, "created_at": 1724945836.2818356, "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": "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": {"alias": "not_null_fct_pool_rewards_hour_635c87ae2557e9395da988d2e1e4a097"}, "created_at": 1724945836.286191, "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": "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": {}, "created_at": 1724945836.287806, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2a63ee355e4d76f268537548f1f3d4cf"}, "created_at": 1724945836.289445, "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": "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": {}, "created_at": 1724945836.2941594, "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": "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": {}, "created_at": 1724945836.2957954, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_6f0679969324f6c86528d62ed3e64658"}, "created_at": 1724945836.2974482, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_8dfb621ad95873be69842e7a52568e36"}, "created_at": 1724945836.301648, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_c3520f755c3280ff3dbb2008a3c8df69"}, "created_at": 1724945836.3032618, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_101f33e1d7acd1e7a935048c8eeed72a"}, "created_at": 1724945836.3049042, "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": "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": {}, "created_at": 1724945836.3066401, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_0305974c50a0f1c684080082e2de1b91"}, "created_at": 1724945836.3082666, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_a8c2669f0d6479c019d59a25fa7f3128"}, "created_at": 1724945836.3128128, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_3a2f522b52f84f1fa4d5d261ac240762"}, "created_at": 1724945836.3144994, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_d66933481f7af1019863db2047abc6b6"}, "created_at": 1724945836.318768, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_fa22a1f51ca74ea96a04a23f52e6fd76"}, "created_at": 1724945836.320575, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_db7f25a9d30e870ff1966e415088dd18"}, "created_at": 1724945836.32474, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_00419512556802607d34a13b2fae9fde"}, "created_at": 1724945836.3265457, "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": "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": {}, "created_at": 1724945836.3359053, "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": "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": {}, "created_at": 1724945836.3379614, "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": "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": {}, "created_at": 1724945836.3396492, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_13b1cd7a747e4342600b693999e3edc5"}, "created_at": 1724945836.3413317, "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": "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": {}, "created_at": 1724945836.3457942, "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": "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": {}, "created_at": 1724945836.34747, "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": "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": {}, "created_at": 1724945836.3491669, "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": "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": {}, "created_at": 1724945836.3507917, "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": "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": {}, "created_at": 1724945836.3525238, "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": "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": {}, "created_at": 1724945836.354182, "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": "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": {}, "created_at": 1724945836.3558147, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_4c31ac9727349bc48034259abf6855e8"}, "created_at": 1724945836.3575342, "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": "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": {}, "created_at": 1724945836.3619392, "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": "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": {}, "created_at": 1724945836.3635988, "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": "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": {}, "created_at": 1724945836.3652623, "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": "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": {}, "created_at": 1724945836.3670418, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_7ae3fe9b5ae9f2521f5ef9e747468675"}, "created_at": 1724945836.3687136, "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": "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": {}, "created_at": 1724945836.3729799, "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": "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": {}, "created_at": 1724945836.3748205, "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": "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": {}, "created_at": 1724945836.376463, "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": "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": {}, "created_at": 1724945836.3781493, "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": "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": {}, "created_at": 1724945836.3798637, "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": "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": {}, "created_at": 1724945836.3820698, "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": "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": {}, "created_at": 1724945836.3837008, "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": "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": {}, "created_at": 1724945836.385547, "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": "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": {}, "created_at": 1724945836.387209, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_f7215907bd80967a19c7b75cb2c62c2d"}, "created_at": 1724945836.3890054, "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": "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": {}, "created_at": 1724945836.393755, "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": "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": {}, "created_at": 1724945836.3978188, "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": "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": {}, "created_at": 1724945836.3997233, "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": "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": {}, "created_at": 1724945836.4014337, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_1793757a7745263cb1ae50328ac71095"}, "created_at": 1724945836.403093, "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": "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": {}, "created_at": 1724945836.4076285, "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": "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": {}, "created_at": 1724945836.4093013, "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": "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": {}, "created_at": 1724945836.4109256, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c389955785804dcaf9bd1c3182ae345a"}, "created_at": 1724945836.412562, "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": "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": {}, "created_at": 1724945836.4660337, "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": "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": {}, "created_at": 1724945836.4678493, "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": "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": {}, "created_at": 1724945836.469626, "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": "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": {}, "created_at": 1724945836.4712756, "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": "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": {"alias": "not_null_fct_perp_interest_cha_58e811f195886e33ea96ae96495917e8"}, "created_at": 1724945836.472953, "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": "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": {}, "created_at": 1724945836.474563, "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": "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": {}, "created_at": 1724945836.4761684, "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": "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": {"alias": "accepted_values_fct_perp_inter_c4347b3b9694ac10aceed0143cedea56"}, "created_at": 1724945836.4779038, "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": "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": {}, "created_at": 1724945836.482157, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_ff10b4f2a56e4cdea1b5bcb928b28cbf"}, "created_at": 1724945836.4839828, "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": "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": {}, "created_at": 1724945836.4882035, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_20bd9be4bbd3c73d6fe50263ec1a1772"}, "created_at": 1724945836.4898727, "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": "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": {}, "created_at": 1724945836.4941623, "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": "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": {}, "created_at": 1724945836.4958107, "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": "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": {"alias": "not_null_fct_perp_collateral_m_480f0628000298ef433bca3cc91c2d4d"}, "created_at": 1724945836.4974732, "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": "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": {}, "created_at": 1724945836.499201, "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": "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": {"alias": "not_null_fct_perp_collateral_m_6aaf08a0cc0ebf1ec2552467131d9042"}, "created_at": 1724945836.5008342, "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": "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": {}, "created_at": 1724945836.5024128, "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": "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": {}, "created_at": 1724945836.504121, "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": "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": {"alias": "accepted_values_fct_perp_colla_c44093d110551810dda33a327b32dcf1"}, "created_at": 1724945836.505879, "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": "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": {"alias": "not_null_fct_perp_collateral_m_e720fe048f24fc979d195abef2b1e5f2"}, "created_at": 1724945836.5100296, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8db4ca1659461866db19178ab65e09c0"}, "created_at": 1724945836.511674, "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": "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": {}, "created_at": 1724945836.5158777, "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": "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": {}, "created_at": 1724945836.5175526, "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": "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": {}, "created_at": 1724945836.5192997, "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": "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": {"alias": "not_null_fct_perp_previous_ord_e4a087722f5fd0da2240b158c1565b09"}, "created_at": 1724945836.5209634, "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": "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": {"alias": "not_null_fct_perp_previous_ord_80cc469e6d2e81f1497a39d556777112"}, "created_at": 1724945836.5225735, "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": "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": {"alias": "not_null_fct_perp_previous_ord_47e60611f9f74b7743817ce63b11a05c"}, "created_at": 1724945836.5241745, "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": "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": {}, "created_at": 1724945836.5258143, "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": "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": {"alias": "not_null_fct_perp_previous_ord_03fbb8f4256d615fd7d5e4f848963002"}, "created_at": 1724945836.5275881, "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": "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": {"alias": "accepted_values_fct_perp_previ_530e813c897a8fb37891d6ee5ba0c5cd"}, "created_at": 1724945836.5292833, "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": "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": {}, "created_at": 1724945836.5338027, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_faf7be524f227ba063ac311acf719633"}, "created_at": 1724945836.5354486, "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": "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": {"alias": "not_null_fct_perp_previous_ord_ad18888485efae9a1e81172a3cc23d47"}, "created_at": 1724945836.5395558, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_0e7c1984c4aa39f6fd4b55bb77bb0799"}, "created_at": 1724945836.541785, "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": "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": {}, "created_at": 1724945836.5458019, "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": "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": {}, "created_at": 1724945836.5476048, "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": "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": {}, "created_at": 1724945836.5492623, "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": "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": {}, "created_at": 1724945836.550873, "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": "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": {}, "created_at": 1724945836.5524733, "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": "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": {}, "created_at": 1724945836.554141, "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": "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": {}, "created_at": 1724945836.555861, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a2dd2d32440dc91fc4794c2d669f8f75"}, "created_at": 1724945836.557529, "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": "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": {}, "created_at": 1724945836.5621457, "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": "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": {}, "created_at": 1724945836.5637937, "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": "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": {}, "created_at": 1724945836.5654287, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_defc59e01d010d8997dbab10fd9ba035"}, "created_at": 1724945836.5670488, "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": "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": {}, "created_at": 1724945836.5712764, "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": "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": {}, "created_at": 1724945836.57294, "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": "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": {}, "created_at": 1724945836.5745823, "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": "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": {}, "created_at": 1724945836.5763292, "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": "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": {}, "created_at": 1724945836.5779774, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_706d881e642b0b44990f6900137dfeab"}, "created_at": 1724945836.579588, "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": "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": {}, "created_at": 1724945836.5840087, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_46aa73378e6d97a17fcd11f7168dd382"}, "created_at": 1724945836.58571, "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": "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": {}, "created_at": 1724945836.5903854, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_7f989292ebdd85696258f50e8e944d80"}, "created_at": 1724945836.5920491, "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": "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": {}, "created_at": 1724945836.5964503, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_107d1ece6a234baa81ddaf7ec7bc2586"}, "created_at": 1724945836.5981357, "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": "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": {}, "created_at": 1724945836.6021845, "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": "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": {}, "created_at": 1724945836.603989, "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": "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": {}, "created_at": 1724945836.6056497, "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": "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": {}, "created_at": 1724945836.607286, "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": "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": {}, "created_at": 1724945836.6089113, "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": 1724945836.6106594, "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": "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": {}, "created_at": 1724945836.6151285, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_de17968e136591e8bdebfe1ebeb97386"}, "created_at": 1724945836.6170096, "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": "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": {}, "created_at": 1724945836.6214895, "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": "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": {}, "created_at": 1724945836.6231189, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_30bfdb62856d2d46d9bb2e59b4ef38ec"}, "created_at": 1724945836.6253803, "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": "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": {}, "created_at": 1724945836.6295822, "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": "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": {}, "created_at": 1724945836.6313596, "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": "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": {}, "created_at": 1724945836.6329896, "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": "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": {}, "created_at": 1724945836.6346135, "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": "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": {}, "created_at": 1724945836.6363392, "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": "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": {}, "created_at": 1724945836.6379883, "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": "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": {}, "created_at": 1724945836.6396856, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a5e90bb9a47c86be90778297ee732a5c"}, "created_at": 1724945836.6413207, "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": "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": {}, "created_at": 1724945836.6458197, "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": "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": {}, "created_at": 1724945836.6474822, "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": "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": {}, "created_at": 1724945836.64918, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_da1cde36dcb965e4569d28886fb327bf"}, "created_at": 1724945836.6508403, "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": "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": {}, "created_at": 1724945836.6555467, "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": "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": {}, "created_at": 1724945836.657217, "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": "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": {}, "created_at": 1724945836.658855, "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": "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": {}, "created_at": 1724945836.6605942, "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": "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": {}, "created_at": 1724945836.6622849, "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": "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": {}, "created_at": 1724945836.6639102, "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": "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": {}, "created_at": 1724945836.6655622, "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": "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": {}, "created_at": 1724945836.6671855, "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": "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": {}, "created_at": 1724945836.6689315, "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": "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": {}, "created_at": 1724945836.6705458, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_0f2a5a910989f8011f80a42e87ac0347"}, "created_at": 1724945836.672166, "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": "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": {}, "created_at": 1724945836.6767282, "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": "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": {}, "created_at": 1724945836.6784585, "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": "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": {}, "created_at": 1724945836.6801014, "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": "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": {}, "created_at": 1724945836.68177, "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": "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": {}, "created_at": 1724945836.6836696, "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": "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": {}, "created_at": 1724945836.6854, "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": "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": {}, "created_at": 1724945836.687062, "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": "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": {}, "created_at": 1724945836.688714, "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": "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": {}, "created_at": 1724945836.690427, "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": "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": {}, "created_at": 1724945836.6920235, "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": "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": {}, "created_at": 1724945836.6936698, "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": "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": {}, "created_at": 1724945836.6952763, "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": "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": {}, "created_at": 1724945836.6969793, "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": "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": {}, "created_at": 1724945836.6987548, "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": "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": {}, "created_at": 1724945836.7003815, "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": "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": {}, "created_at": 1724945836.7020214, "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": "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": {}, "created_at": 1724945836.7036374, "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": "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": {}, "created_at": 1724945836.705364, "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": "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": {}, "created_at": 1724945836.7069938, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_3750d789cef78e79b6772ee1c31b416d"}, "created_at": 1724945836.7086434, "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": "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": {}, "created_at": 1724945836.714127, "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": "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": {}, "created_at": 1724945836.7158191, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_635979f89ac1fc82c0d353f5e0c85107"}, "created_at": 1724945836.7175088, "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": "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": {}, "created_at": 1724945836.7220964, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_74c6652efc26b3f786970051f82d187d"}, "created_at": 1724945836.7237568, "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": "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": {}, "created_at": 1724945836.7281969, "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": "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": {}, "created_at": 1724945836.7299285, "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": "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": {}, "created_at": 1724945836.7316587, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8a97ba250d4e9efa339d8da28a0c27ac"}, "created_at": 1724945836.7333155, "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": "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": {}, "created_at": 1724945836.7379148, "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": "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": {}, "created_at": 1724945836.7395532, "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": "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": {}, "created_at": 1724945836.7413664, "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": "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": {}, "created_at": 1724945836.7430077, "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": "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": {}, "created_at": 1724945836.7506251, "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": "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": {}, "created_at": 1724945836.752495, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_95b025ed4566a6c327e2a1b54a635a45"}, "created_at": 1724945836.754276, "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": "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": {}, "created_at": 1724945836.7587967, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_ed497ddd2101ddfffc53a477a0be3c56"}, "created_at": 1724945836.7604601, "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": "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": {}, "created_at": 1724945836.764721, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_2357e6e1b2389bbacb74d4d9d107012d"}, "created_at": 1724945836.766566, "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": "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": {}, "created_at": 1724945836.770708, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_8da69f2dfdaa37b8628e825930fc5b81"}, "created_at": 1724945836.7727013, "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": "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": {}, "created_at": 1724945836.7771437, "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": "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": {}, "created_at": 1724945836.7788408, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_f29cb83636bed8e0f60f2530445a2fa1"}, "created_at": 1724945836.7807207, "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": "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": {}, "created_at": 1724945836.785151, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_295f5e76c7f32780fd03a191ca4a34ca"}, "created_at": 1724945836.7869895, "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": "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": {}, "created_at": 1724945836.7911599, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_ae7e9da2aec9085f88f390a9eab8c08b"}, "created_at": 1724945836.7928746, "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": "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": {}, "created_at": 1724945836.797132, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_ee13dfd755b5a6ec766632efc82a0f72"}, "created_at": 1724945836.798801, "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": "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": {}, "created_at": 1724945836.8034751, "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": "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": {}, "created_at": 1724945836.8051953, "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": "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": {}, "created_at": 1724945836.8068395, "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": "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": {}, "created_at": 1724945836.808686, "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": "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": {}, "created_at": 1724945836.8103182, "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": "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": {}, "created_at": 1724945836.811973, "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": "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": {}, "created_at": 1724945836.8162773, "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": "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": {}, "created_at": 1724945836.8179781, "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": "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": {}, "created_at": 1724945836.8219767, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_3a016e5ad8a0adae03db8e6dc5263b6a"}, "created_at": 1724945836.8236544, "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": "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": {}, "created_at": 1724945836.8476436, "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": "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": {}, "created_at": 1724945836.8495426, "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": "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": {"alias": "not_null_fct_core_vault_collat_37b597cf8c32469a1d69c9aadfe682da"}, "created_at": 1724945836.8511996, "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": "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": {}, "created_at": 1724945836.8528903, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_f526b54502b4e6439215a8bf4203c4d6"}, "created_at": 1724945836.8545525, "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": "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": {}, "created_at": 1724945836.8590186, "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": "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": {}, "created_at": 1724945836.86069, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_6bba595374bdcb2cb46d98f292bf7d2e"}, "created_at": 1724945836.8623452, "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": "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": {"alias": "not_null_fct_core_vault_collat_42b07f2d712f8f2546dd07342c489ad5"}, "created_at": 1724945836.866649, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_bc0bc65ef31ab43c72fcc31503f71ffe"}, "created_at": 1724945836.8683147, "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": "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": {}, "created_at": 1724945836.8726337, "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": "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": {}, "created_at": 1724945836.87429, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a06acbcee374592e1c21556ac5125493"}, "created_at": 1724945836.8759232, "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": "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": {}, "created_at": 1724945836.8800976, "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": "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": {}, "created_at": 1724945836.881747, "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": "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": {}, "created_at": 1724945836.8833573, "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": "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": {}, "created_at": 1724945836.885755, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c6a9d6cdf38f5a5f7e8ab2f8af3e7400"}, "created_at": 1724945836.8873832, "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": "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": {}, "created_at": 1724945836.891391, "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": "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": {}, "created_at": 1724945836.893193, "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": "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": {}, "created_at": 1724945836.8948076, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_0c3a3ad4b2605e67c43089afd856b412"}, "created_at": 1724945836.896465, "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": "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": {"alias": "not_null_fct_core_account_dele_48ede5ea58c83e85f0c9b34275d541ce"}, "created_at": 1724945836.9012556, "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": "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": {"alias": "not_null_fct_core_account_dele_5c6ae4e230c42e179a94f3c08c406b4f"}, "created_at": 1724945836.9029217, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_63d34731f192f581c7d937dba2a57268"}, "created_at": 1724945836.9045358, "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": "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": {}, "created_at": 1724945836.90896, "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": "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": {}, "created_at": 1724945836.9105923, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_34905ccfa7f104f9e681258d06bbb98a"}, "created_at": 1724945836.9122434, "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": "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": {}, "created_at": 1724945836.916511, "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": "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": {}, "created_at": 1724945836.9181979, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_60527a0769f89a89a2519580069dce39"}, "created_at": 1724945836.9198554, "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": "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": {}, "created_at": 1724945836.9244962, "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": "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": {}, "created_at": 1724945836.9262052, "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": "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": {}, "created_at": 1724945836.927867, "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": "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": {}, "created_at": 1724945836.929773, "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": "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": {}, "created_at": 1724945836.9315155, "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": "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": {}, "created_at": 1724945836.9332902, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_eb7cb32edc5d4a16284e415551837739"}, "created_at": 1724945836.9350688, "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": "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": {}, "created_at": 1724945836.9397123, "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": "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": {}, "created_at": 1724945836.9413562, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_c7fff98d755af95adeb25c2a02c7ec5b"}, "created_at": 1724945836.943013, "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": "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": {}, "created_at": 1724945836.9473696, "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": "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": {}, "created_at": 1724945836.9490604, "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": "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": {}, "created_at": 1724945836.9506958, "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": "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": {}, "created_at": 1724945836.9524345, "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": "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": {}, "created_at": 1724945836.9540753, "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": "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": {}, "created_at": 1724945836.9556806, "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": "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": {}, "created_at": 1724945836.957322, "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": "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": {}, "created_at": 1724945836.959028, "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": "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": {}, "created_at": 1724945836.960706, "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": "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": {}, "created_at": 1724945836.962368, "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": "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": {}, "created_at": 1724945836.964008, "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": "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": {"alias": "accepted_values_fct_core_marke_fbcb06123ff64c40081372c459987d0d"}, "created_at": 1724945836.9656997, "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": "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": {}, "created_at": 1724945836.970231, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_07e7b3d012c319772ee6dbea8ff50ee4"}, "created_at": 1724945836.971911, "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": "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": {}, "created_at": 1724945836.9766786, "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": "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": {}, "created_at": 1724945836.9783447, "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": "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": {}, "created_at": 1724945836.979951, "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": "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": {}, "created_at": 1724945836.981706, "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": "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": {}, "created_at": 1724945836.983313, "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": "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": {}, "created_at": 1724945836.9849641, "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": "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": {}, "created_at": 1724945836.9866002, "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": "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": {}, "created_at": 1724945836.9883187, "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": "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": {}, "created_at": 1724945836.989961, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_8363e9f5a95fe0d37cdd21e63a723d71"}, "created_at": 1724945836.9915931, "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": "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": {}, "created_at": 1724945836.996593, "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": "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": {}, "created_at": 1724945836.9983072, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_ce1e0f8e6a0c289e7cea14e7e56d78c3"}, "created_at": 1724945836.9999712, "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": "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": {}, "created_at": 1724945837.004354, "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": "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": {}, "created_at": 1724945837.006062, "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": "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": {}, "created_at": 1724945837.007723, "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": "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": {}, "created_at": 1724945837.0095067, "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": "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": {}, "created_at": 1724945837.0111723, "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": "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": {}, "created_at": 1724945837.0128007, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_54a5030c1cac11053a9d40471504b3d0"}, "created_at": 1724945837.0144346, "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": "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": {}, "created_at": 1724945837.0189173, "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": "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": {}, "created_at": 1724945837.0205615, "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": "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": {}, "created_at": 1724945837.0222783, "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": "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": {}, "created_at": 1724945837.024039, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_d6c292de7d152cb498976697520f85e3"}, "created_at": 1724945837.025724, "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": "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": {}, "created_at": 1724945837.0301442, "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": "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": {}, "created_at": 1724945837.0319357, "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": "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": {}, "created_at": 1724945837.033615, "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": "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": {}, "created_at": 1724945837.035221, "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": "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": {}, "created_at": 1724945837.0368414, "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": "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": {}, "created_at": 1724945837.038556, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c22d916041b12ca4d7d00f7a19978894"}, "created_at": 1724945837.0402217, "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": "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": {}, "created_at": 1724945837.044835, "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": "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": {}, "created_at": 1724945837.046676, "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": "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": {}, "created_at": 1724945837.0483198, "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": "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": {}, "created_at": 1724945837.0499804, "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": "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": {}, "created_at": 1724945837.05172, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_f423f7a2f7a6eaf1e34fa2608b7f20a9"}, "created_at": 1724945837.0535624, "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": "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": {}, "created_at": 1724945837.0582333, "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": "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": {}, "created_at": 1724945837.0599346, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_048616a286b6b20003e0208bc4988898"}, "created_at": 1724945837.0622373, "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": "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": {}, "created_at": 1724945837.0665815, "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": "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": {}, "created_at": 1724945837.068418, "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": "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": {}, "created_at": 1724945837.0701299, "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": "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": {}, "created_at": 1724945837.0717711, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c137a38ff4a39d7919875eddf9e580b2"}, "created_at": 1724945837.0735397, "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": "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": {}, "created_at": 1724945837.0780432, "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": "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": {}, "created_at": 1724945837.0796797, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_b35ccf3d0c5fa66dfdb25a7ce0612dcf"}, "created_at": 1724945837.081343, "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": "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": {}, "created_at": 1724945837.0856097, "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": "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": {}, "created_at": 1724945837.0873158, "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": "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": {}, "created_at": 1724945837.0890238, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_0e087cdd72bd8bdcbf1772c6c9878495"}, "created_at": 1724945837.0908477, "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": "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": {}, "created_at": 1724945837.0955136, "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": "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": {}, "created_at": 1724945837.0972288, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_b3687991e20ace156bbe4d1a9c005842"}, "created_at": 1724945837.0990658, "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": "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": {}, "created_at": 1724945837.1033862, "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": "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": {}, "created_at": 1724945837.1052656, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_5cf4e436c9332cc81f82b43178d99e31"}, "created_at": 1724945837.10696, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_83b8118cf5e5602eedb7113c200b50c6"}, "created_at": 1724945837.1111991, "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": "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": {}, "created_at": 1724945837.1130388, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_8dc8b105c8db5e51214fe0eec0157073"}, "created_at": 1724945837.114683, "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": "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": {}, "created_at": 1724945837.1163163, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_7e3fc9ae86c53feede790ebba8bf36a1"}, "created_at": 1724945837.1180341, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_54efb5f87a8fd4c56ab82f2223e2abd1"}, "created_at": 1724945837.1229203, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_6c23fd35e9750661beb2f99f2da17a26"}, "created_at": 1724945837.1246665, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_7008c8122c0653b7fce3ba812710fc46"}, "created_at": 1724945837.1296883, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_5a84c17d2e40b25469e8ab6da0ee109b"}, "created_at": 1724945837.1315393, "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": "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": {}, "created_at": 1724945837.1369967, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8833ef70b7da77b967939559ebb4d53c"}, "created_at": 1724945837.1387415, "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": "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": {}, "created_at": 1724945837.1645634, "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": "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": {}, "created_at": 1724945837.166562, "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": "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": {}, "created_at": 1724945837.1682346, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_91ed2d6444a2d9e7dae36ab1d509b137"}, "created_at": 1724945837.1699042, "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": "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": {}, "created_at": 1724945837.1743312, "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": "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": {}, "created_at": 1724945837.1760015, "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": "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": {}, "created_at": 1724945837.177693, "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": "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": {}, "created_at": 1724945837.179335, "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": "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": {}, "created_at": 1724945837.181129, "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": "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": {}, "created_at": 1724945837.1827867, "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": "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": {}, "created_at": 1724945837.184416, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_7fab60828a5bfeb783ade31a478e75db"}, "created_at": 1724945837.186072, "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": "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": {}, "created_at": 1724945837.1907248, "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": "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": {}, "created_at": 1724945837.1924045, "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": "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": {}, "created_at": 1724945837.1940496, "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": "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": {}, "created_at": 1724945837.1958292, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_c6e2598ae26ef43c24f3f88f8dc4f769"}, "created_at": 1724945837.1976218, "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": "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": {}, "created_at": 1724945837.2026255, "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": "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": {}, "created_at": 1724945837.20464, "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": "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": {}, "created_at": 1724945837.2062786, "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": "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": {}, "created_at": 1724945837.2079034, "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": "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": {}, "created_at": 1724945837.2095542, "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": "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": {}, "created_at": 1724945837.2112896, "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": "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": {}, "created_at": 1724945837.2129774, "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": "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": {}, "created_at": 1724945837.214593, "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": "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": {}, "created_at": 1724945837.2161887, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_250a7c642b574d53cc1af4dfcbcf129d"}, "created_at": 1724945837.2178545, "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": "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": {}, "created_at": 1724945837.22241, "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": "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": {}, "created_at": 1724945837.2262263, "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": "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": {}, "created_at": 1724945837.2281127, "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": "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": {}, "created_at": 1724945837.2298186, "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": "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": {}, "created_at": 1724945837.231472, "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": "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": {}, "created_at": 1724945837.2361608, "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": "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": {}, "created_at": 1724945837.2378507, "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": "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": {}, "created_at": 1724945837.2394798, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_27b6af55248f953e90043a26b172ae10"}, "created_at": 1724945837.2411575, "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": "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": {}, "created_at": 1724945837.3697326, "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": "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": {}, "created_at": 1724945837.3715374, "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": "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": {}, "created_at": 1724945837.3733559, "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": "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": {}, "created_at": 1724945837.375007, "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": "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": {"alias": "not_null_fct_perp_interest_cha_ef7870358c5aff75d7f92ce4c7de1c07"}, "created_at": 1724945837.376683, "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": "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": {}, "created_at": 1724945837.378339, "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": "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": {}, "created_at": 1724945837.37998, "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": "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": {"alias": "accepted_values_fct_perp_inter_8f173b579ea46e22e00a38898643f42f"}, "created_at": 1724945837.3818188, "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": "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": {}, "created_at": 1724945837.386186, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_d192f9304caff99eeffe34887ba9fd58"}, "created_at": 1724945837.3879938, "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": "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": {}, "created_at": 1724945837.392086, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_067b6722ec0a3ba96989426b240c29ff"}, "created_at": 1724945837.3939466, "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": "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": {}, "created_at": 1724945837.3980806, "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": "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": {}, "created_at": 1724945837.3997386, "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": "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": {"alias": "not_null_fct_perp_collateral_m_29a3faef3b1a9aaf01d9e330ab75faad"}, "created_at": 1724945837.401613, "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": "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": {}, "created_at": 1724945837.403228, "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": "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": {"alias": "not_null_fct_perp_collateral_m_09036bff9f33021bdc2f7c611d921020"}, "created_at": 1724945837.4048803, "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": "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": {}, "created_at": 1724945837.4064903, "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": "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": {}, "created_at": 1724945837.4082353, "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": "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": {"alias": "accepted_values_fct_perp_colla_1ab1c21834ede76d1e34f06cf2def9bf"}, "created_at": 1724945837.4099104, "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": "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": {"alias": "not_null_fct_perp_collateral_m_e96903840ffe61a948a59ad3485c1535"}, "created_at": 1724945837.4143453, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8842b67718d899abc12b7a5f41b7a7e7"}, "created_at": 1724945837.416024, "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": "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": {}, "created_at": 1724945837.420178, "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": "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": {}, "created_at": 1724945837.4220593, "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": "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": {}, "created_at": 1724945837.4237242, "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": "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": {"alias": "not_null_fct_perp_previous_ord_9c7a161f838a4c7aa741dca0a21c40e7"}, "created_at": 1724945837.4253836, "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": "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": {"alias": "not_null_fct_perp_previous_ord_c653b9bed8c3157c4422e80f77a0b022"}, "created_at": 1724945837.4270282, "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": "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": {"alias": "not_null_fct_perp_previous_ord_e6503bbb900b804259f539d4a386ea08"}, "created_at": 1724945837.4293127, "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": "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": {}, "created_at": 1724945837.4309378, "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": "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": {"alias": "not_null_fct_perp_previous_ord_76fb0a0f579f503805573e61f45555ef"}, "created_at": 1724945837.4325707, "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": "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": {"alias": "accepted_values_fct_perp_previ_48e2e93359da3c420e07b2ee28c127b1"}, "created_at": 1724945837.434232, "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": "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": {}, "created_at": 1724945837.438681, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_f7e171b7e018d9cc369742d5966ea0ca"}, "created_at": 1724945837.44033, "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": "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": {"alias": "not_null_fct_perp_previous_ord_e668d930033b017ab7e489e9265ae2cc"}, "created_at": 1724945837.4446645, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_bd7e93d324e2173f6fc9f1cd5524c906"}, "created_at": 1724945837.4463406, "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": "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": {}, "created_at": 1724945837.4505982, "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": "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": {}, "created_at": 1724945837.4522529, "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": "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": {}, "created_at": 1724945837.453909, "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": "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": {}, "created_at": 1724945837.4555376, "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": "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": {}, "created_at": 1724945837.457322, "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": "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": {}, "created_at": 1724945837.4589655, "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": "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": {}, "created_at": 1724945837.4606333, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_ab57f63d9f8f1488413cc5294a42215d"}, "created_at": 1724945837.4623024, "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": "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": {}, "created_at": 1724945837.4669747, "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": "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": {}, "created_at": 1724945837.4686468, "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": "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": {}, "created_at": 1724945837.4702911, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_3e1fc0d8bc7c6d669e2e3b19f01f8d95"}, "created_at": 1724945837.472067, "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": "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": {}, "created_at": 1724945837.4762225, "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": "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": {}, "created_at": 1724945837.4781137, "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": "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": {}, "created_at": 1724945837.4797575, "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": "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": {}, "created_at": 1724945837.4814112, "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": "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": {}, "created_at": 1724945837.4830236, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_ca3e105a3a84eed01da18939c8f18b2b"}, "created_at": 1724945837.4846797, "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": "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": {}, "created_at": 1724945837.4889474, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_e05adcb16523bcfa1793ab941d8d5c8c"}, "created_at": 1724945837.4906313, "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": "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": {}, "created_at": 1724945837.495505, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_707eedc089e19f28f32df66ad5b050e0"}, "created_at": 1724945837.4972277, "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": "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": {}, "created_at": 1724945837.501562, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_af8c9599723e3d75b1eeca41d4ebb24c"}, "created_at": 1724945837.5032172, "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": "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": {}, "created_at": 1724945837.507467, "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": "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": {}, "created_at": 1724945837.5092158, "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": "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": {}, "created_at": 1724945837.5109236, "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": "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": {}, "created_at": 1724945837.5125635, "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": "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": {}, "created_at": 1724945837.515061, "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": 1724945837.5167093, "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": "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": {}, "created_at": 1724945837.521009, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_e5c0b70069c52e907a59ba0ddbc37d9c"}, "created_at": 1724945837.522695, "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": "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": {}, "created_at": 1724945837.527301, "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": "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": {}, "created_at": 1724945837.5290196, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_91effbb5ac329749a28fdc3e2c6a851d"}, "created_at": 1724945837.5306666, "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": "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": {}, "created_at": 1724945837.534968, "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": "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": {}, "created_at": 1724945837.5366223, "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": "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": {}, "created_at": 1724945837.5382679, "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": "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": {}, "created_at": 1724945837.5398748, "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": "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": {}, "created_at": 1724945837.5416193, "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": "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": {}, "created_at": 1724945837.5432377, "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": "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": {}, "created_at": 1724945837.544894, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8f13032e2e92049a5f6a34cc0ae08445"}, "created_at": 1724945837.5465136, "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": "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": {}, "created_at": 1724945837.55083, "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": "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": {}, "created_at": 1724945837.552474, "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": "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": {}, "created_at": 1724945837.5541413, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_ae99b6e2247a60ca23f0d205365d0549"}, "created_at": 1724945837.5559154, "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": "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": {}, "created_at": 1724945837.5601559, "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": "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": {}, "created_at": 1724945837.5618293, "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": "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": {}, "created_at": 1724945837.5636466, "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": "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": {}, "created_at": 1724945837.5652952, "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": "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": {}, "created_at": 1724945837.5669072, "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": "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": {}, "created_at": 1724945837.5685215, "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": "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": {}, "created_at": 1724945837.5703242, "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": "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": {}, "created_at": 1724945837.5719318, "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": "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": {}, "created_at": 1724945837.5736377, "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": "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": {}, "created_at": 1724945837.5752838, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c20e45a1dbacba5e3091f475187d360f"}, "created_at": 1724945837.5769525, "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": "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": {}, "created_at": 1724945837.5814164, "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": "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": {}, "created_at": 1724945837.5830846, "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": "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": {}, "created_at": 1724945837.5849152, "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": "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": {}, "created_at": 1724945837.586559, "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": "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": {}, "created_at": 1724945837.5881948, "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": "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": {}, "created_at": 1724945837.589836, "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": "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": {}, "created_at": 1724945837.5914636, "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": "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": {}, "created_at": 1724945837.5932035, "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": "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": {}, "created_at": 1724945837.5948298, "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": "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": {}, "created_at": 1724945837.5964622, "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": "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": {}, "created_at": 1724945837.5981069, "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": "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": {}, "created_at": 1724945837.6002798, "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": "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": {}, "created_at": 1724945837.6019602, "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": "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": {}, "created_at": 1724945837.6035962, "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": "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": {}, "created_at": 1724945837.6052444, "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": "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": {}, "created_at": 1724945837.6068923, "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": "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": {}, "created_at": 1724945837.608634, "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": "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": {}, "created_at": 1724945837.6102793, "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": "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": {}, "created_at": 1724945837.6118991, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_e8d55960e718e4aa0a40f57add520ab0"}, "created_at": 1724945837.6135633, "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": "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": {}, "created_at": 1724945837.6185105, "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": "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": {}, "created_at": 1724945837.6202736, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_09db1a699d45bbd0e363887112ab95ad"}, "created_at": 1724945837.6220937, "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": "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": {}, "created_at": 1724945837.6267855, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_55b02cf38d5019d5afdf83f46b6bbec4"}, "created_at": 1724945837.6284966, "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": "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": {}, "created_at": 1724945837.6329446, "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": "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": {}, "created_at": 1724945837.634715, "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": "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": {}, "created_at": 1724945837.636356, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_1f9510fc5bdfec529dbea80dbaae1676"}, "created_at": 1724945837.6382089, "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": "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": {}, "created_at": 1724945837.6424565, "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": "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": {}, "created_at": 1724945837.6441183, "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": "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": {}, "created_at": 1724945837.645981, "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": "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": {}, "created_at": 1724945837.6476536, "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": "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": {}, "created_at": 1724945837.653794, "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": "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": {}, "created_at": 1724945837.655543, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_1bf638a8eb91a53680354c7e48a8b077"}, "created_at": 1724945837.657541, "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": "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": {}, "created_at": 1724945837.6620343, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_e29d9b49f7316dcccc24e427120330f9"}, "created_at": 1724945837.6637094, "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": "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": {}, "created_at": 1724945837.6681254, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_4d7ae50362ef8b4d8e7af3a690fb9dba"}, "created_at": 1724945837.66986, "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": "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": {}, "created_at": 1724945837.6740918, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_19d9635b42d83035fb764a30eb745906"}, "created_at": 1724945837.6757665, "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": "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": {}, "created_at": 1724945837.6801622, "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": "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": {}, "created_at": 1724945837.6819105, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_8e018fe7304f85f2f4c41ebb3c45b989"}, "created_at": 1724945837.6836672, "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": "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": {}, "created_at": 1724945837.6880872, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_a4e81546e4ccc71932af9661f5571a01"}, "created_at": 1724945837.689812, "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": "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": {}, "created_at": 1724945837.694731, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_2536425d340752a408f11af4d6e17df5"}, "created_at": 1724945837.6963959, "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": "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": {}, "created_at": 1724945837.7006223, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_4d682ef0bf2205fae0715c85cdea2cfa"}, "created_at": 1724945837.7022922, "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": "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": {}, "created_at": 1724945837.7064614, "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": "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": {}, "created_at": 1724945837.7081056, "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": "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": {}, "created_at": 1724945837.7097692, "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": "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": {}, "created_at": 1724945837.7114055, "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": "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": {}, "created_at": 1724945837.7131648, "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": "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": {}, "created_at": 1724945837.714807, "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": "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": {}, "created_at": 1724945837.718983, "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": "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": {}, "created_at": 1724945837.720682, "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": "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": {}, "created_at": 1724945837.7246454, "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": "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": {"alias": "dbt_utils_accepted_range_fct_b_f27268fa82fe2198c6837b55019f56b4"}, "created_at": 1724945837.7264864, "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": "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": {}, "created_at": 1724945837.7489667, "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": "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": {}, "created_at": 1724945837.7507727, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_4a01facac1fe697a42756d2bb6a96a80"}, "created_at": 1724945837.7524757, "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": "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": {}, "created_at": 1724945837.7571015, "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": "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": {}, "created_at": 1724945837.7588146, "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": "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": {}, "created_at": 1724945837.760699, "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": "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": {}, "created_at": 1724945837.762367, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_34f2d8d63697f2af65b49421de24fb19"}, "created_at": 1724945837.7641356, "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": "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": {}, "created_at": 1724945837.7688253, "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": "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": {}, "created_at": 1724945837.7704632, "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": "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": {}, "created_at": 1724945837.7720838, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_016c75bfef05dcd2e6b902708f01c66a"}, "created_at": 1724945837.7737665, "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": "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": {"alias": "not_null_fct_core_account_dele_935cbd39408bf4bfc27abac489c5b50b"}, "created_at": 1724945837.7791672, "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": "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": {"alias": "not_null_fct_core_account_dele_f872622f2d82ba5e4bd6842ee7a190d4"}, "created_at": 1724945837.7808638, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_007f67fb89b2b9c25bfcde64b9f35aa2"}, "created_at": 1724945837.7824996, "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": "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": {}, "created_at": 1724945837.7869682, "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": "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": {}, "created_at": 1724945837.7887669, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_c0327ae9615378fcb4c600c78772dcc7"}, "created_at": 1724945837.790616, "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": "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": {}, "created_at": 1724945837.794968, "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": "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": {}, "created_at": 1724945837.7966623, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_7eb3383a5b609abc521a07fea9b7493e"}, "created_at": 1724945837.79854, "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": "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": {}, "created_at": 1724945837.8026574, "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": "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": {}, "created_at": 1724945837.8044622, "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": "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": {}, "created_at": 1724945837.806159, "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": "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": {}, "created_at": 1724945837.80778, "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": "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": {}, "created_at": 1724945837.809432, "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": "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": {}, "created_at": 1724945837.811062, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_dbf4e014e5549121cfd1d46bf0be7100"}, "created_at": 1724945837.8128488, "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": "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": {}, "created_at": 1724945837.8169851, "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": "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": {}, "created_at": 1724945837.818795, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_02f7f20bfaebdcfd70b89794605a8f32"}, "created_at": 1724945837.8204732, "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": "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": {}, "created_at": 1724945837.8247426, "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": "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": {}, "created_at": 1724945837.8266027, "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": "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": {}, "created_at": 1724945837.8282657, "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": "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": {}, "created_at": 1724945837.8299496, "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": "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": {}, "created_at": 1724945837.8315706, "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": "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": {}, "created_at": 1724945837.8333411, "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": "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": {}, "created_at": 1724945837.835051, "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": "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": {}, "created_at": 1724945837.8367672, "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": "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": {}, "created_at": 1724945837.8384678, "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": "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": {}, "created_at": 1724945837.8401442, "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": "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": {}, "created_at": 1724945837.841987, "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": "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": {"alias": "accepted_values_fct_core_marke_f14eb644ae46474b2ee44b21ba94d125"}, "created_at": 1724945837.8436959, "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": "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": {}, "created_at": 1724945837.8485, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_642994047e1de807079be1501781c958"}, "created_at": 1724945837.8502367, "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": "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": {}, "created_at": 1724945837.8549182, "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": "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": {}, "created_at": 1724945837.8565888, "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": "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": {}, "created_at": 1724945837.8582833, "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": "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": {}, "created_at": 1724945837.8599153, "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": "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": {}, "created_at": 1724945837.8615794, "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": "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": {}, "created_at": 1724945837.8636425, "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": "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": {}, "created_at": 1724945837.865296, "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": "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": {}, "created_at": 1724945837.8669345, "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": "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": {}, "created_at": 1724945837.868563, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_7c8b0f19510562be724b56a2ea7fa20b"}, "created_at": 1724945837.870244, "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": "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": {}, "created_at": 1724945837.874945, "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": "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": {}, "created_at": 1724945837.8765929, "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": "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": {"alias": "dbt_utils_accepted_range_fct_c_b198daab2c36979f2c5164ecabed2558"}, "created_at": 1724945837.8784208, "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": "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": {}, "created_at": 1724945837.8827457, "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": "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": {}, "created_at": 1724945837.884412, "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": "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": {}, "created_at": 1724945837.886262, "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": "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": {}, "created_at": 1724945837.8878963, "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": "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": {}, "created_at": 1724945837.8895245, "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": "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": {}, "created_at": 1724945837.8911276, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c5f43d8f9e210687bcde5398fec0aa62"}, "created_at": 1724945837.8928936, "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": "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": {}, "created_at": 1724945837.8971567, "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": "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": {}, "created_at": 1724945837.8990428, "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": "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": {}, "created_at": 1724945837.9007428, "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": "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": {}, "created_at": 1724945837.9023752, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_080234b3dc1c1422ae72bcef10b3876f"}, "created_at": 1724945837.9040146, "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": "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": {}, "created_at": 1724945837.9084902, "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": "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": {}, "created_at": 1724945837.9101777, "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": "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": {}, "created_at": 1724945837.911804, "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": "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": {}, "created_at": 1724945837.913579, "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": "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": {}, "created_at": 1724945837.9151893, "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": "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": {}, "created_at": 1724945837.916851, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_1c7c1b16173674e338549ddb7f27b7ca"}, "created_at": 1724945837.9184804, "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": "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": {}, "created_at": 1724945837.9229414, "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": "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": {}, "created_at": 1724945837.9246044, "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": "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": {}, "created_at": 1724945837.926256, "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": "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": {}, "created_at": 1724945837.9280384, "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": "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": {}, "created_at": 1724945837.9297183, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_6a560e0fbf794c7f750bbee46b063b15"}, "created_at": 1724945837.931378, "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": "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": {}, "created_at": 1724945837.936008, "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": "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": {}, "created_at": 1724945837.9376895, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_dde6685624f91c45c63ba3638584b182"}, "created_at": 1724945837.9393318, "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": "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": {}, "created_at": 1724945837.9436693, "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": "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": {}, "created_at": 1724945837.9453151, "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": "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": {}, "created_at": 1724945837.94691, "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": "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": {}, "created_at": 1724945837.9490578, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_7392fe570bb1ffcd65da1c7cd6982c51"}, "created_at": 1724945837.950677, "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": "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": {}, "created_at": 1724945837.9549215, "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": "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": {}, "created_at": 1724945837.956763, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_8847545f22090d36993074a7ae93645b"}, "created_at": 1724945837.9584348, "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": "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": {}, "created_at": 1724945837.962959, "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": "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": {}, "created_at": 1724945837.9646623, "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": "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": {}, "created_at": 1724945837.9663088, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_c49bb88c47ce0ffb87f7f220bfc072ee"}, "created_at": 1724945837.9679527, "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": "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": {}, "created_at": 1724945837.9722555, "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": "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": {}, "created_at": 1724945837.9739542, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_93717b724298f107b6ffe1b8e9c9699c"}, "created_at": 1724945837.9755847, "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": "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": {}, "created_at": 1724945837.9798732, "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": "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": {}, "created_at": 1724945837.981606, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_2d58f654e46802f6010b88f3ce3def6e"}, "created_at": 1724945837.9832869, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_e78ac2aee703e2a50a6c42a608df5d5e"}, "created_at": 1724945837.9879394, "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": "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": {}, "created_at": 1724945837.989668, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_c060874bcad559685bf1a5cd949d5918"}, "created_at": 1724945837.9913504, "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": "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": {}, "created_at": 1724945837.9931657, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_67d45398c054f12474741982c73b93f1"}, "created_at": 1724945837.9948287, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_43f1f8061abeadd42cef2eaf404296fe"}, "created_at": 1724945837.9996884, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_d53bd1835f2844fd49f397b04d803502"}, "created_at": 1724945838.0013702, "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": "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": {"alias": "not_null_fct_pool_rewards_toke_f5973e5a01592ddd5909e364ed32a331"}, "created_at": 1724945838.0058105, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_340c3c975ab7148e0322287971dc86a8"}, "created_at": 1724945838.0076835, "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": "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": {}, "created_at": 1724945838.0120502, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_3eb069f390b7573dee3c16d4dcde343d"}, "created_at": 1724945838.0140553, "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": "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": {}, "created_at": 1724945838.034636, "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": "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": {}, "created_at": 1724945838.0372744, "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": "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": {}, "created_at": 1724945838.0390558, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_7d7e114e53625e5452e9f57a1ff338e7"}, "created_at": 1724945838.0407512, "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": "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": {}, "created_at": 1724945838.0453646, "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": "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": {}, "created_at": 1724945838.0470114, "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": "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": {}, "created_at": 1724945838.0486538, "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": "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": {}, "created_at": 1724945838.0503113, "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": "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": {}, "created_at": 1724945838.0520306, "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": "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": {}, "created_at": 1724945838.053695, "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": "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": {}, "created_at": 1724945838.0553415, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_b4f78cdf817b17683fb6b75998b127e3"}, "created_at": 1724945838.0570364, "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": "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": {}, "created_at": 1724945838.0618415, "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": "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": {}, "created_at": 1724945838.0634913, "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": "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": {}, "created_at": 1724945838.0651338, "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": "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": {}, "created_at": 1724945838.066918, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_be8de3308c40f5eccbffc40789c7b67b"}, "created_at": 1724945838.0685663, "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": "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": {}, "created_at": 1724945838.0729456, "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": "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": {}, "created_at": 1724945838.0747666, "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": "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": {}, "created_at": 1724945838.0763774, "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": "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": {}, "created_at": 1724945838.0780241, "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": "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": {}, "created_at": 1724945838.0796218, "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": "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": {}, "created_at": 1724945838.081347, "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": "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": {}, "created_at": 1724945838.0829632, "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": "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": {}, "created_at": 1724945838.084641, "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": "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": {}, "created_at": 1724945838.0862849, "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": "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": {"alias": "dbt_utils_accepted_range_fct_s_e1e621000332c16d5873c30225cc957d"}, "created_at": 1724945838.0879412, "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": "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": {}, "created_at": 1724945838.092651, "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": "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": {}, "created_at": 1724945838.0964816, "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": "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": {}, "created_at": 1724945838.0983942, "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": "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": {}, "created_at": 1724945838.1000288, "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": "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": {}, "created_at": 1724945838.1017003, "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": "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": {}, "created_at": 1724945838.1062288, "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": "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": {}, "created_at": 1724945838.1079044, "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": "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": {}, "created_at": 1724945838.1095588, "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": "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": {"alias": "dbt_utils_accepted_range_fct_p_a0ee7fb3835698f075ede26384c6bf98"}, "created_at": 1724945838.1112154, "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"}}, "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": "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": {"alias": "not_null_arbitrum_mainnet_rewa_9f0ed420a135e83b661e5838a9b341e1"}, "created_at": 1724945838.1506655, "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": "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": {}, "created_at": 1724945838.152478, "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": "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": {"alias": "not_null_arbitrum_sepolia_rewa_3a4a8df81e818d95a18f5f2753e2c60f"}, "created_at": 1724945838.1541715, "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": "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": {}, "created_at": 1724945838.155913, "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": "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": {}, "created_at": 1724945838.1575458, "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": "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": {}, "created_at": 1724945838.1591501, "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": "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": {}, "created_at": 1724945838.160808, "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": "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": {}, "created_at": 1724945838.1624577, "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": "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": {}, "created_at": 1724945838.1641686, "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": "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": {}, "created_at": 1724945838.1657982, "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": "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": {}, "created_at": 1724945838.1673944, "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": "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": {}, "created_at": 1724945838.169013, "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": "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": {}, "created_at": 1724945838.1707308, "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": "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": {}, "created_at": 1724945838.1723373, "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": "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": {}, "created_at": 1724945838.1739585, "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": "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": {}, "created_at": 1724945838.1755478, "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}}}, "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": 1724945838.1931632}, "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": 1724945838.1947844}, "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": 1724945838.194977}, "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": 1724945838.1951516}, "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": 1724945838.1953266}, "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": 1724945838.1954982}, "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": 1724945838.1956716}, "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": 1724945838.1958318}, "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": 1724945838.1959944}, "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": 1724945838.1961555}, "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": 1724945838.1963158}, "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": 1724945838.1964748}, "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": 1724945838.1966865}, "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": 1724945838.1968591}, "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": 1724945838.1970186}, "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": 1724945838.1971805}, "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": 1724945838.1973383}, "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": 1724945838.1975048}, "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": 1724945838.1976595}, "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": 1724945838.1978142}, "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": 1724945838.1979706}, "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": 1724945838.198129}, "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": 1724945838.198289}, "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": 1724945838.1984491}, "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": 1724945838.198609}, "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": 1724945838.1987667}, "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": 1724945838.1989233}, "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": 1724945838.1990786}, "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": 1724945838.1992347}, "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": 1724945838.1995032}, "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": 1724945838.199664}, "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": 1724945838.1998205}, "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": 1724945838.1999753}, "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": 1724945838.200132}, "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": 1724945838.2002883}, "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": 1724945838.2004464}, "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": 1724945838.200604}, "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": 1724945838.2007828}, "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": 1724945838.2009408}, "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": 1724945838.201097}, "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": 1724945838.2012525}, "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": 1724945838.2014081}, "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": 1724945838.2015648}, "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": 1724945838.2017236}, "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": 1724945838.2018833}, "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": 1724945838.2020395}, "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": 1724945838.2021954}, "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": 1724945838.2023523}, "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": 1724945838.202508}, "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": 1724945838.2026656}, "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": 1724945838.2028253}, "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": 1724945838.2029839}, "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": 1724945838.203141}, "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": 1724945838.2032998}, "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": 1724945838.203458}, "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": 1724945838.2036152}, "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": 1724945838.2037737}, "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": 1724945838.203932}, "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": 1724945838.20409}, "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": 1724945838.2042508}, "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": 1724945838.2044103}, "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": 1724945838.2045686}, "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": 1724945838.204747}, "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": 1724945838.2049081}, "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": 1724945838.205066}, "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": 1724945838.205226}, "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": 1724945838.2053819}, "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": 1724945838.2055542}, "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": 1724945838.2057123}, "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": 1724945838.2058709}, "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": 1724945838.2060566}, "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": 1724945838.206215}, "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": 1724945838.206372}, "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": 1724945838.2065282}, "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": 1724945838.2066834}, "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": 1724945838.2068384}, "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": 1724945838.206996}, "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": 1724945838.2071524}, "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": 1724945838.2073095}, "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": 1724945838.2074761}, "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": 1724945838.2076368}, "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": 1724945838.2077928}, "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": 1724945838.2079499}, "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": 1724945838.2081063}, "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": 1724945838.20827}, "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": 1724945838.208423}, "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": 1724945838.20858}, "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": 1724945838.2087646}, "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": 1724945838.208922}, "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": 1724945838.2090764}, "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": 1724945838.2092397}, "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": 1724945838.2093928}, "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": 1724945838.2095473}, "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": 1724945838.209704}, "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": 1724945838.2098606}, "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": 1724945838.210016}, "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": 1724945838.2101703}, "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": 1724945838.2103243}, "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": 1724945838.210481}, "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": 1724945838.2106402}, "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": 1724945838.210798}, "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": 1724945838.2109547}, "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": 1724945838.211109}, "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": 1724945838.211262}, "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": 1724945838.2114155}, "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": 1724945838.2115703}, "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": 1724945838.2117243}, "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": 1724945838.2118778}, "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": 1724945838.2120311}, "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": 1724945838.212184}, "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": 1724945838.2123375}, "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": 1724945838.21281}, "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": 1724945838.2129834}, "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": 1724945838.2131429}, "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": 1724945838.2133024}, "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": 1724945838.2134588}, "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": 1724945838.2136142}, "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": 1724945838.2137713}, "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": 1724945838.2139292}, "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": 1724945838.2140844}, "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": 1724945838.2142398}, "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": 1724945838.2143996}, "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": 1724945838.214555}, "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": 1724945838.2147098}, "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": 1724945838.2148635}, "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": 1724945838.215016}, "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": 1724945838.2151694}, "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": 1724945838.2153232}, "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": 1724945838.2154768}, "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": 1724945838.2156308}, "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": 1724945838.2157848}, "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": 1724945838.2159376}, "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": 1724945838.2160888}, "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": 1724945838.2162428}, "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": 1724945838.2163968}, "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": 1724945838.2165525}, "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": 1724945838.2167337}, "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": 1724945838.216893}, "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": 1724945838.2170472}, "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": 1724945838.2172134}, "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": 1724945838.2173731}, "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": 1724945838.2175303}, "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": 1724945838.2176836}, "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": 1724945838.2178378}, "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": 1724945838.2179933}, "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": 1724945838.2181475}, "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": 1724945838.2183003}, "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": 1724945838.2184532}, "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": 1724945838.2186072}, "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": 1724945838.218761}, "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": 1724945838.2189143}, "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": 1724945838.2190661}, "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": 1724945838.219219}, "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": 1724945838.2193992}, "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": 1724945838.2195637}, "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": 1724945838.219719}, "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": 1724945838.2198713}, "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": 1724945838.2200236}, "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": 1724945838.2201765}, "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": 1724945838.2203305}, "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": 1724945838.2204828}, "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": 1724945838.2206538}, "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": 1724945838.220812}, "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": 1724945838.2209659}, "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": 1724945838.221119}, "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": 1724945838.2212722}, "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": 1724945838.2214282}, "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": 1724945838.2215831}, "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": 1724945838.2217367}, "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": 1724945838.2218904}, "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": 1724945838.2220445}, "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": 1724945838.2222037}, "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": 1724945838.2223575}, "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": 1724945838.2225103}, "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": 1724945838.2226634}, "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": 1724945838.222816}, "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": 1724945838.2229693}, "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": 1724945838.2231321}, "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": 1724945838.223285}, "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": 1724945838.2234387}, "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": 1724945838.2235925}, "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": 1724945838.2237458}, "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": 1724945838.2239096}, "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": 1724945838.2240624}, "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": 1724945838.2242274}, "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": 1724945838.2243812}, "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": 1724945838.2245343}, "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": 1724945838.2247229}, "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": 1724945838.2248821}, "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": 1724945838.2250354}, "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": 1724945838.2251875}, "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": 1724945838.2253397}, "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": 1724945838.2254913}, "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": 1724945838.2256424}, "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": 1724945838.2258177}, "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": 1724945838.2259707}, "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": 1724945838.2261238}, "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": 1724945838.2262769}, "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": 1724945838.2264297}, "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": 1724945838.2265832}, "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": 1724945838.2267365}, "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": 1724945838.2268891}, "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": 1724945838.2270405}, "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": 1724945838.2271922}, "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": 1724945838.2273436}, "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": 1724945838.2275019}, "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": 1724945838.227656}, "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": 1724945838.2278087}, "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": 1724945838.2279615}, "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": 1724945838.2281137}, "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": 1724945838.2282662}, "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": 1724945838.2284205}, "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": 1724945838.2285743}, "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": 1724945838.228748}, "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": 1724945838.228903}, "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": 1724945838.229056}, "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": 1724945838.2292085}, "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": 1724945838.2293608}, "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": 1724945838.229513}, "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": 1724945838.2296648}, "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": 1724945838.2298174}, "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": 1724945838.229971}, "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": 1724945838.2301245}, "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": 1724945838.2302763}, "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": 1724945838.2304285}, "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": 1724945838.230579}, "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": 1724945838.2307284}, "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": 1724945838.2308795}, "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": 1724945838.2310326}, "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": 1724945838.2311847}, "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": 1724945838.2313375}, "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": 1724945838.2314904}, "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": 1724945838.2316427}, "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": 1724945838.2317963}, "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": 1724945838.2319515}, "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": 1724945838.2321258}, "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": 1724945838.232278}, "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": 1724945838.2324302}, "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": 1724945838.2325814}, "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": 1724945838.232778}, "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": 1724945838.232934}, "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": 1724945838.2330883}, "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": 1724945838.2332413}, "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": 1724945838.2333953}, "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": 1724945838.233548}, "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": 1724945838.2336998}, "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": 1724945838.2338536}, "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": 1724945838.2340062}, "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": 1724945838.234157}, "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": 1724945838.2343104}, "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": 1724945838.2344635}, "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": 1724945838.2346163}, "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": 1724945838.2347684}, "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": 1724945838.234922}, "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": 1724945838.2350745}, "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": 1724945838.235237}, "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": 1724945838.2353904}, "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": 1724945838.2355454}, "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": 1724945838.2356992}, "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": 1724945838.2358513}, "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": 1724945838.2360024}, "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": 1724945838.2361538}, "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": 1724945838.2363036}, "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": 1724945838.2364545}, "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": 1724945838.2366214}, "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": 1724945838.2367816}, "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": 1724945838.2369432}, "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": 1724945838.2370992}, "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": 1724945838.2372513}, "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": 1724945838.2374098}, "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": 1724945838.2375643}, "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": 1724945838.2377274}, "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": 1724945838.2378805}, "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": 1724945838.2380328}, "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": 1724945838.2381907}, "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": 1724945838.2383447}, "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": 1724945838.2385154}, "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": 1724945838.2386684}, "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": 1724945838.2388248}, "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": 1724945838.238982}, "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": 1724945838.2391415}, "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": 1724945838.239303}, "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": 1724945838.239462}, "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": 1724945838.2396185}, "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": 1724945838.2397792}, "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": 1724945838.2399392}, "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": 1724945838.2400975}, "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": 1724945838.2402499}, "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": 1724945838.2404065}, "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": 1724945838.2405584}, "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": 1724945838.2407372}, "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": 1724945838.240895}, "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": 1724945838.241048}, "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": 1724945838.2412002}, "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": 1724945838.2413597}, "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": 1724945838.241511}, "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": 1724945838.241664}, "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": 1724945838.241816}, "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": 1724945838.2419763}, "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": 1724945838.242128}, "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": 1724945838.2422817}, "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": 1724945838.242435}, "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": 1724945838.2425866}, "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": 1724945838.242738}, "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": 1724945838.2428882}, "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": 1724945838.2430403}, "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": 1724945838.2432256}, "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": 1724945838.2434003}, "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": 1724945838.243559}, "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": 1724945838.2437139}, "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": 1724945838.2438655}, "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": 1724945838.244018}, "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": 1724945838.2441764}, "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": 1724945838.2443638}, "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": 1724945838.244534}, "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": 1724945838.244733}, "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": 1724945838.2448971}, "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": 1724945838.245076}, "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": 1724945838.2452416}, "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": 1724945838.2453995}, "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": 1724945838.2455552}, "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": 1724945838.2457082}, "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": 1724945838.2458627}, "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": 1724945838.2460167}, "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": 1724945838.246169}, "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": 1724945838.246322}, "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": 1724945838.2464747}, "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": 1724945838.2466261}, "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": 1724945838.2467852}, "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": 1724945838.246939}, "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": 1724945838.2470925}, "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": 1724945838.2472534}, "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": 1724945838.2474139}, "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": 1724945838.2475727}, "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": 1724945838.2477248}, "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": 1724945838.247877}, "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": 1724945838.2480285}, "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": 1724945838.248181}, "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": 1724945838.2483394}, "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": 1724945838.2484972}, "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": 1724945838.248672}, "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": 1724945838.2488303}, "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": 1724945838.248992}, "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": 1724945838.2491527}, "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": 1724945838.249311}, "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": 1724945838.249464}, "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": 1724945838.2496166}, "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": 1724945838.24977}, "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": 1724945838.249923}, "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": 1724945838.2500813}, "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": 1724945838.2502375}, "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": 1724945838.2503936}, "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": 1724945838.2505474}, "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": 1724945838.2507005}, "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": 1724945838.250857}, "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": 1724945838.2510195}, "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": 1724945838.251176}, "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": 1724945838.2513294}, "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": 1724945838.2515023}, "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": 1724945838.25166}, "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": 1724945838.2518132}, "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": 1724945838.2519646}, "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": 1724945838.252119}, "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": 1724945838.2522728}, "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": 1724945838.2524254}, "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": 1724945838.2525835}, "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": 1724945838.2527583}, "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": 1724945838.252919}, "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": 1724945838.2530742}, "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": 1724945838.253227}, "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": 1724945838.2533884}, "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": 1724945838.2535422}, "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": 1724945838.253693}, "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": 1724945838.253847}, "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": 1724945838.2540026}, "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": 1724945838.2541614}, "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": 1724945838.2543194}, "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": 1724945838.2544703}, "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": 1724945838.2546215}, "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": 1724945838.2547808}, "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": 1724945838.254935}, "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": 1724945838.2550926}, "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": 1724945838.2552545}, "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": 1724945838.255406}, "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": 1724945838.2555583}, "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": 1724945838.2557101}, "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": 1724945838.2558713}, "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": 1724945838.256026}, "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": 1724945838.2561784}, "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": 1724945838.2563295}, "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": 1724945838.2564812}, "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": 1724945838.2566593}, "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": 1724945838.2568188}, "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": 1724945838.2569716}, "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": 1724945838.257124}, "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": 1724945838.2572758}, "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": 1724945838.2574317}, "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": 1724945838.2575905}, "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": 1724945838.2577455}, "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": 1724945838.257918}, "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": 1724945838.2580688}, "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": 1724945838.2582202}, "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": 1724945838.258378}, "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": 1724945838.2585354}, "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": 1724945838.2586873}, "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": 1724945838.2588391}, "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": 1724945838.25899}, "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": 1724945838.2591462}, "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": 1724945838.259299}, "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": 1724945838.2594504}, "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": 1724945838.2596056}, "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": 1724945838.259761}, "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": 1724945838.259913}, "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": 1724945838.260073}, "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": 1724945838.260227}, "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": 1724945838.260385}, "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": 1724945838.2605379}, "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": 1724945838.2607086}, "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": 1724945838.2608676}, "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": 1724945838.2610195}, "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": 1724945838.261171}, "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": 1724945838.2613232}, "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": 1724945838.2614782}, "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": 1724945838.2616363}, "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": 1724945838.2617886}, "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": 1724945838.2619417}, "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": 1724945838.2620935}, "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": 1724945838.262245}, "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": 1724945838.2624054}, "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": 1724945838.2625651}, "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": 1724945838.2627177}, "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": 1724945838.2628703}, "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": 1724945838.263023}, "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": 1724945838.2631738}, "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": 1724945838.2633355}, "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": 1724945838.263491}, "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": 1724945838.2636542}, "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": 1724945838.263808}, "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": 1724945838.2639608}, "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": 1724945838.2641175}, "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": 1724945838.2642946}, "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": 1724945838.2644541}, "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": 1724945838.264622}, "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": 1724945838.2647822}, "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": 1724945838.2649415}, "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": 1724945838.2650974}, "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": 1724945838.2652535}, "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": 1724945838.2654083}, "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": 1724945838.265561}, "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": 1724945838.2657251}, "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": 1724945838.265962}, "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": 1724945838.266124}, "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": 1724945838.2662864}, "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": 1724945838.2664404}, "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": 1724945838.2665935}, "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": 1724945838.2667522}, "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": 1724945838.266908}, "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": 1724945838.267061}, "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": 1724945838.2672176}, "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": 1724945838.2673807}, "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": 1724945838.2675397}, "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": 1724945838.2676933}, "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": 1724945838.2678454}, "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": 1724945838.2679968}, "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": 1724945838.2681553}, "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": 1724945838.268308}, "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": 1724945838.2684655}, "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": 1724945838.2686381}, "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": 1724945838.2687972}, "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": 1724945838.268952}, "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": 1724945838.2691104}, "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": 1724945838.2692711}, "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": 1724945838.269425}, "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": 1724945838.269578}, "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": 1724945838.2697353}, "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": 1724945838.269889}, "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": 1724945838.2700527}, "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": 1724945838.2702107}, "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": 1724945838.2703655}, "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": 1724945838.2705207}, "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": 1724945838.2706847}, "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": 1724945838.2708564}, "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": 1724945838.2710185}, "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": 1724945838.2711735}, "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": 1724945838.2713268}, "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": 1724945838.271479}, "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": 1724945838.2716305}, "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": 1724945838.2717886}, "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": 1724945838.2719467}, "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": 1724945838.2721002}, "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": 1724945838.2722526}, "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": 1724945838.2724054}, "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": 1724945838.2725644}, "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": 1724945838.2727394}, "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": 1724945838.2728963}, "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": 1724945838.2730515}, "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": 1724945838.2732031}, "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": 1724945838.2733552}, "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": 1724945838.2735133}, "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": 1724945838.2736647}, "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": 1724945838.2738216}, "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": 1724945838.273975}, "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": 1724945838.274128}, "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": 1724945838.2742858}, "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": 1724945838.2744403}, "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": 1724945838.2745934}, "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": 1724945838.2747538}, "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": 1724945838.27491}, "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": 1724945838.2750676}, "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": 1724945838.275221}, "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": 1724945838.2753732}, "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": 1724945838.2755303}, "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": 1724945838.2756898}, "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": 1724945838.2758486}, "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": 1724945838.2760015}, "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": 1724945838.2761533}, "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": 1724945838.2763052}, "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": 1724945838.2764556}, "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": 1724945838.2766473}, "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": 1724945838.276845}, "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": 1724945838.2770092}, "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": 1724945838.2771676}, "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": 1724945838.2773426}, "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": 1724945838.2775056}, "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": 1724945838.2776666}, "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": 1724945838.2778318}, "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": 1724945838.277987}, "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": 1724945838.278139}, "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": 1724945838.2782922}, "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": 1724945838.2784483}, "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": 1724945838.278606}, "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": 1724945838.27876}, "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": 1724945838.2789123}, "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": 1724945838.2790625}, "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": 1724945838.279213}, "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": 1724945838.2793686}, "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": 1724945838.2795205}, "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": 1724945838.2796767}, "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": 1724945838.279833}, "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": 1724945838.2799854}, "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": 1724945838.2801423}, "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": 1724945838.280295}, "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": 1724945838.2804494}, "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": 1724945838.2806022}, "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": 1724945838.2807736}, "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": 1724945838.2809308}, "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": 1724945838.2810838}, "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": 1724945838.2812343}, "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": 1724945838.2813845}, "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": 1724945838.2815397}, "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": 1724945838.281691}, "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": 1724945838.2818491}, "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": 1724945838.2820015}, "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": 1724945838.282152}, "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": 1724945838.282306}, "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": 1724945838.2824588}, "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": 1724945838.2826145}, "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": 1724945838.2827656}, "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": 1724945838.2829154}, "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": 1724945838.2830663}, "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": 1724945838.2832174}, "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": 1724945838.2833788}, "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": 1724945838.2835321}, "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": 1724945838.2837017}, "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": 1724945838.283853}, "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": 1724945838.2840044}, "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": 1724945838.2841585}, "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": 1724945838.2843137}, "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": 1724945838.2844644}, "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": 1724945838.2846293}, "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": 1724945838.284794}, "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": 1724945838.2849476}, "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": 1724945838.2851052}, "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": 1724945838.285264}, "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": 1724945838.2854178}, "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": 1724945838.2855694}, "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": 1724945838.2857206}, "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": 1724945838.285876}, "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": 1724945838.2860305}, "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": 1724945838.2861855}, "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": 1724945838.286336}, "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": 1724945838.2864962}, "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": 1724945838.2866461}, "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": 1724945838.2868037}, "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": 1724945838.2869537}, "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": 1724945838.287109}, "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": 1724945838.2872596}, "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": 1724945838.2874153}, "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": 1724945838.2875714}, "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": 1724945838.2877216}, "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": 1724945838.2878761}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_funding_recomputed\"", "created_at": 1724945838.2880292}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_margin_transferred\"", "created_at": 1724945838.2881796}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_perps_tracking\"", "created_at": 1724945838.2883356}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_flagged\"", "created_at": 1724945838.2884867}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated0\"", "created_at": 1724945838.2886562}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_liquidated1\"", "created_at": 1724945838.2888112}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified0\"", "created_at": 1724945838.2889678}, "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_imx_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_imx_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_imx_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_imx_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_imx_event_position_modified1\"", "created_at": 1724945838.2891243}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_removed\"", "created_at": 1724945838.289277}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_delayed_order_submitted\"", "created_at": 1724945838.2894275}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_funding_recomputed\"", "created_at": 1724945838.289584}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_margin_transferred\"", "created_at": 1724945838.2897382}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_perps_tracking\"", "created_at": 1724945838.2898924}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_flagged\"", "created_at": 1724945838.2904365}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated0\"", "created_at": 1724945838.2905934}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_liquidated1\"", "created_at": 1724945838.290745}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified0\"", "created_at": 1724945838.2908971}, "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_inj_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_inj_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_inj_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_inj_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_inj_event_position_modified1\"", "created_at": 1724945838.2910483}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_removed\"", "created_at": 1724945838.291208}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_delayed_order_submitted\"", "created_at": 1724945838.29136}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_funding_recomputed\"", "created_at": 1724945838.2915115}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_margin_transferred\"", "created_at": 1724945838.2916632}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_perps_tracking\"", "created_at": 1724945838.2918131}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_flagged\"", "created_at": 1724945838.2919703}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated0\"", "created_at": 1724945838.2921224}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_liquidated1\"", "created_at": 1724945838.2922719}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified0\"", "created_at": 1724945838.2924232}, "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_knc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_knc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_knc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_knc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_knc_event_position_modified1\"", "created_at": 1724945838.2925735}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_removed\"", "created_at": 1724945838.2927577}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_delayed_order_submitted\"", "created_at": 1724945838.2929168}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_funding_recomputed\"", "created_at": 1724945838.29307}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_margin_transferred\"", "created_at": 1724945838.29323}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_perps_tracking\"", "created_at": 1724945838.2933834}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_flagged\"", "created_at": 1724945838.2935348}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated0\"", "created_at": 1724945838.293693}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_liquidated1\"", "created_at": 1724945838.2938485}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified0\"", "created_at": 1724945838.2940023}, "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ldo_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ldo_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ldo_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ldo_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ldo_event_position_modified1\"", "created_at": 1724945838.2941537}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_removed\"", "created_at": 1724945838.2943056}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_delayed_order_submitted\"", "created_at": 1724945838.2944613}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_funding_recomputed\"", "created_at": 1724945838.2946136}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_margin_transferred\"", "created_at": 1724945838.2947643}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_perps_tracking\"", "created_at": 1724945838.294915}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_flagged\"", "created_at": 1724945838.2950742}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated0\"", "created_at": 1724945838.295226}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_liquidated1\"", "created_at": 1724945838.295383}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified0\"", "created_at": 1724945838.2955353}, "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_link_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_link_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_link_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_link_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_link_event_position_modified1\"", "created_at": 1724945838.29569}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_removed\"", "created_at": 1724945838.2958426}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_delayed_order_submitted\"", "created_at": 1724945838.295995}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_funding_recomputed\"", "created_at": 1724945838.2961533}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_margin_transferred\"", "created_at": 1724945838.296306}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_perps_tracking\"", "created_at": 1724945838.2964587}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_flagged\"", "created_at": 1724945838.296625}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated0\"", "created_at": 1724945838.2968025}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_liquidated1\"", "created_at": 1724945838.2969697}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified0\"", "created_at": 1724945838.2971237}, "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_ltc_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_ltc_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_ltc_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_ltc_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_ltc_event_position_modified1\"", "created_at": 1724945838.2972755}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_removed\"", "created_at": 1724945838.2974334}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_delayed_order_submitted\"", "created_at": 1724945838.2975886}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_funding_recomputed\"", "created_at": 1724945838.2977426}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_margin_transferred\"", "created_at": 1724945838.297899}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_perps_tracking\"", "created_at": 1724945838.2980564}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_flagged\"", "created_at": 1724945838.2982104}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated0\"", "created_at": 1724945838.2983618}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_liquidated1\"", "created_at": 1724945838.298514}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified0\"", "created_at": 1724945838.298672}, "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_matic_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_matic_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_matic_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_matic_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_matic_event_position_modified1\"", "created_at": 1724945838.29883}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_removed\"", "created_at": 1724945838.298982}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_delayed_order_submitted\"", "created_at": 1724945838.2991338}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_funding_recomputed\"", "created_at": 1724945838.2992845}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_margin_transferred\"", "created_at": 1724945838.299443}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_perps_tracking\"", "created_at": 1724945838.2995977}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_flagged\"", "created_at": 1724945838.2997508}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated0\"", "created_at": 1724945838.299902}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_liquidated1\"", "created_at": 1724945838.3000536}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified0\"", "created_at": 1724945838.3002102}, "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mav_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mav_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mav_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mav_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mav_event_position_modified1\"", "created_at": 1724945838.300367}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_removed\"", "created_at": 1724945838.3005185}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_delayed_order_submitted\"", "created_at": 1724945838.3007123}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_funding_recomputed\"", "created_at": 1724945838.3008747}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_margin_transferred\"", "created_at": 1724945838.30103}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_perps_tracking\"", "created_at": 1724945838.3011878}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_flagged\"", "created_at": 1724945838.3013434}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated0\"", "created_at": 1724945838.3014975}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_liquidated1\"", "created_at": 1724945838.3016486}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified0\"", "created_at": 1724945838.3018072}, "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_meme_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_meme_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_meme_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_meme_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_meme_event_position_modified1\"", "created_at": 1724945838.301964}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_removed\"", "created_at": 1724945838.3021166}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_delayed_order_submitted\"", "created_at": 1724945838.3022678}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_funding_recomputed\"", "created_at": 1724945838.3024197}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_margin_transferred\"", "created_at": 1724945838.3025765}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_perps_tracking\"", "created_at": 1724945838.3027444}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_flagged\"", "created_at": 1724945838.3028991}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated0\"", "created_at": 1724945838.3030536}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_liquidated1\"", "created_at": 1724945838.303229}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified0\"", "created_at": 1724945838.3033864}, "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_mkr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_mkr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_mkr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_mkr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_mkr_event_position_modified1\"", "created_at": 1724945838.3035393}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_removed\"", "created_at": 1724945838.3036957}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_delayed_order_submitted\"", "created_at": 1724945838.3038473}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_funding_recomputed\"", "created_at": 1724945838.303998}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_margin_transferred\"", "created_at": 1724945838.304149}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_perps_tracking\"", "created_at": 1724945838.3043027}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_flagged\"", "created_at": 1724945838.3044608}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated0\"", "created_at": 1724945838.3046288}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_liquidated1\"", "created_at": 1724945838.3047864}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified0\"", "created_at": 1724945838.3049383}, "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_near_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_near_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_near_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_near_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_near_event_position_modified1\"", "created_at": 1724945838.3050926}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_removed\"", "created_at": 1724945838.3052533}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_delayed_order_submitted\"", "created_at": 1724945838.3054073}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_funding_recomputed\"", "created_at": 1724945838.305565}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_margin_transferred\"", "created_at": 1724945838.3057177}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_perps_tracking\"", "created_at": 1724945838.3058693}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_flagged\"", "created_at": 1724945838.3060205}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated0\"", "created_at": 1724945838.3061767}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_liquidated1\"", "created_at": 1724945838.3063295}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified0\"", "created_at": 1724945838.3064864}, "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_one_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_one_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_one_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_one_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_one_event_position_modified1\"", "created_at": 1724945838.306637}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_removed\"", "created_at": 1724945838.3067875}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_delayed_order_submitted\"", "created_at": 1724945838.3069465}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_funding_recomputed\"", "created_at": 1724945838.3071005}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_margin_transferred\"", "created_at": 1724945838.3072505}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_perps_tracking\"", "created_at": 1724945838.3074183}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_flagged\"", "created_at": 1724945838.307572}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated0\"", "created_at": 1724945838.307729}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_liquidated1\"", "created_at": 1724945838.3078806}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified0\"", "created_at": 1724945838.308031}, "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_op_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_op_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_op_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_op_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_op_event_position_modified1\"", "created_at": 1724945838.3081818}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_removed\"", "created_at": 1724945838.3083427}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_delayed_order_submitted\"", "created_at": 1724945838.308497}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_funding_recomputed\"", "created_at": 1724945838.3086736}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_margin_transferred\"", "created_at": 1724945838.3088417}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_perps_tracking\"", "created_at": 1724945838.308997}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_flagged\"", "created_at": 1724945838.3091474}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated0\"", "created_at": 1724945838.3092985}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_liquidated1\"", "created_at": 1724945838.309454}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified0\"", "created_at": 1724945838.3096235}, "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pepe_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pepe_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pepe_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pepe_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pepe_event_position_modified1\"", "created_at": 1724945838.3097749}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_removed\"", "created_at": 1724945838.3099248}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_delayed_order_submitted\"", "created_at": 1724945838.3100746}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_funding_recomputed\"", "created_at": 1724945838.310235}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_margin_transferred\"", "created_at": 1724945838.3103886}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_perps_tracking\"", "created_at": 1724945838.3105392}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_flagged\"", "created_at": 1724945838.3106973}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated0\"", "created_at": 1724945838.3108494}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_liquidated1\"", "created_at": 1724945838.3109992}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified0\"", "created_at": 1724945838.3111558}, "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_perp_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_perp_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_perp_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_perp_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_perp_event_position_modified1\"", "created_at": 1724945838.311305}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_removed\"", "created_at": 1724945838.3114557}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_delayed_order_submitted\"", "created_at": 1724945838.3116066}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_funding_recomputed\"", "created_at": 1724945838.3117576}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_margin_transferred\"", "created_at": 1724945838.3119109}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_perps_tracking\"", "created_at": 1724945838.3120666}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_flagged\"", "created_at": 1724945838.3122165}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated0\"", "created_at": 1724945838.312367}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_liquidated1\"", "created_at": 1724945838.3125212}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified0\"", "created_at": 1724945838.3126953}, "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_pyth_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_pyth_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_pyth_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_pyth_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_pyth_event_position_modified1\"", "created_at": 1724945838.3128488}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_removed\"", "created_at": 1724945838.3129997}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_delayed_order_submitted\"", "created_at": 1724945838.3131492}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_funding_recomputed\"", "created_at": 1724945838.3132994}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_margin_transferred\"", "created_at": 1724945838.3134506}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_perps_tracking\"", "created_at": 1724945838.3136072}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_flagged", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_flagged", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_flagged"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_flagged", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_flagged\"", "created_at": 1724945838.3137572}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated0\"", "created_at": 1724945838.3139124}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_liquidated1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_liquidated1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_liquidated1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_liquidated1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_liquidated1\"", "created_at": 1724945838.3140628}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified0", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified0", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified0"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified0", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified0\"", "created_at": 1724945838.314212}, "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rndr_event_position_modified1", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rndr_event_position_modified1", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rndr_event_position_modified1"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rndr_event_position_modified1", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rndr_event_position_modified1\"", "created_at": 1724945838.3143692}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_removed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_removed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_removed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_removed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_removed\"", "created_at": 1724945838.3145223}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_delayed_order_submitted", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_delayed_order_submitted", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_delayed_order_submitted"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_delayed_order_submitted", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_delayed_order_submitted\"", "created_at": 1724945838.3146732}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_funding_recomputed", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_funding_recomputed", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_funding_recomputed"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_funding_recomputed", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_funding_recomputed\"", "created_at": 1724945838.3148253}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_margin_transferred", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_margin_transferred", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_margin_transferred"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_margin_transferred", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after": {"count": null, "period": null}, "error_after": {"count": null, "period": null}, "filter": null}, "external": null, "description": "", "columns": {}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {}, "relation_name": "\"analytics\".\"raw_optimism_mainnet\".\"perps_v2_rpl_event_margin_transferred\"", "created_at": 1724945838.3149757}, "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking": {"database": "analytics", "schema": "raw_optimism_mainnet", "name": "perps_v2_rpl_event_perps_tracking", "resource_type": "source", "package_name": "synthetix", "path": "models/raw/sources.yml", "original_file_path": "models/raw/sources.yml", "unique_id": "source.synthetix.raw_optimism_mainnet.perps_v2_rpl_event_perps_tracking", "fqn": ["synthetix", "raw", "raw_optimism_mainnet", "perps_v2_rpl_event_perps_tracking"], "source_name": "raw_optimism_mainnet", "source_description": "", "loader": "", "identifier": "perps_v2_rpl_event_perps_tracking", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": null, "freshness": {"warn_after":